Table of Contents

AllowAllPluginTrustPolicy Class

Definition

Namespace
Bodu.Globalization.Calendar.Plugins
Assembly
Bodu.Globalization.Calendar.Plugins.dll
Package
Bodu.Globalization.Calendar.Plugins 1.0.0
Source
AllowAllPluginTrustPolicy.cs

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

context PluginTrustContext

The metadata describing the candidate assembly.

Returns

PluginTrustResult

The trust result.

Exceptions

ArgumentNullException

context is null.

Applies to

ProductVersions
.NET8, 10