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

Gets the authorized roles.

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

Syntax


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

Field Value

The authorized roles.

Examples


Setup Roles.
C#
protected override MockerObservableCollection<string> AuthorizedRoles => new MockerObservableCollection<string>() { "Role1", "Role2"}