RoleValidator<TRole, TKey> Constructor (RoleManager<TRole, TKey>)
Initializes a new instance of the RoleValidator<TRole, TKey> class.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
public RoleValidator(
RoleManager<TRole, TKey> manager
)
public:
RoleValidator(
RoleManager<TRole, TKey>^ manager
)
new :
manager:RoleManager<'TRole, 'TKey> -> RoleValidator
Public Sub New (
manager As RoleManager(Of TRole, TKey)
)
Parameters
manager
Type: Microsoft.AspNet.Identity.RoleManager<TRole, TKey>The role manager.
See Also
RoleValidator<TRole, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top