RoleValidator<TRole> Class

 

Represents a class that validates roles before they are saved.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

System.Object
  Microsoft.AspNet.Identity.RoleValidator<TRole, TKey>
    Microsoft.AspNet.Identity.RoleValidator<TRole>

public class RoleValidator<TRole> : RoleValidator<TRole, string>
where TRole : class, IRole<string>

Type Parameters

TRole

The type of the role.

NameDescription
System_CAPS_pubmethodRoleValidator<TRole>(RoleManager<TRole, String>)

Initializes a new instance of the RoleValidator<TRole> class.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidateAsync(TRole)

Asynchronously validates a role before saving.(Inherited from RoleValidator<TRole, TKey>.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: