RoleValidator<TRole, TKey> Constructor
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
'Declaration
Public Sub New ( _
manager As RoleManager(Of TRole, TKey) _
)
'Usage
Dim manager As RoleManager(Of TRole, TKey)
Dim instance As New RoleValidator(manager)
public RoleValidator(
RoleManager<TRole, TKey> manager
)
public:
RoleValidator(
RoleManager<TRole, TKey>^ manager
)
new :
manager:RoleManager<'TRole, 'TKey> -> RoleValidator
public function RoleValidator(
manager : RoleManager<TRole, TKey>
)
Parameters
- manager
Type: Microsoft.AspNet.Identity.RoleManager<TRole, TKey>
The role manager.
See Also
Reference
RoleValidator<TRole, TKey> Class
Microsoft.AspNet.Identity Namespace