RoleValidator<TRole, TKey> 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, TKey> : IIdentityValidator<TRole>
where TRole : class, IRole<TKey>
where TKey : object, IEquatable<TKey>

Type Parameters

TRole

The type of the role.

TKey

The type of the key.

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

Initializes a new instance of the RoleValidator<TRole, TKey> 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.

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: