AllowAllPluginTrustPolicy Class
Definition
- Namespace
- Bodu.Globalization.Calendar.Plugins
- Assembly
- Bodu.Globalization.Calendar.Plugins.dll
- Package
- Bodu.Globalization.Calendar.Plugins 1.0.0
A trust policy that trusts every candidate assembly.
public sealed class AllowAllPluginTrustPolicy : IPluginTrustPolicy
- Inheritance
-
AllowAllPluginTrustPolicy
- Implements
- Inherited Members
- Extension Methods
Remarks
This policy performs no verification and is intended for development and testing only; production hosts should use a hash- or strong-name-based policy.
Constructors
AllowAllPluginTrustPolicy()
public AllowAllPluginTrustPolicy()
Methods
Evaluate(PluginTrustContext)
Evaluates the trust of a candidate plugin assembly.
public PluginTrustResult Evaluate(PluginTrustContext context)
Parameters
contextPluginTrustContextThe metadata describing the candidate assembly.
Returns
- PluginTrustResult
The trust result.
Exceptions
- ArgumentNullException
contextis null.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |