Gets the authorized roles.
Namespace:
FastMoq.Web.Blazor
Assembly:
FastMoq.Web (in FastMoq.Web.dll)
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.
Setup Roles.
C#
protected override MockerObservableCollection<string> AuthorizedRoles => new MockerObservableCollection<string>() { "Role1", "Role2"}