MockerBlazorTestBase<(Of <(<'T>)>)>..::..AuthorizedPolicies Property

Gets the authorized policies.

Namespace:  FastMoq.Web.Blazor
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


protected virtual MockerObservableCollection<string> AuthorizedPolicies { get; }
Protected Overridable ReadOnly Property AuthorizedPolicies As MockerObservableCollection(Of String)
	Get
protected:
virtual property MockerObservableCollection<String^>^ AuthorizedPolicies {
	MockerObservableCollection<String^>^ get ();
}

Field Value

The authorized policies.

Examples


Setup Policies.
C#
protected override MockerObservableCollection<string> AuthorizedPolicies => new MockerObservableCollection<string>() { "Policy1", "Policy2"}