IdentityRole<TKey> Constructors

Definition

Overloads

IdentityRole<TKey>()

Initializes a new instance of IdentityRole<TKey>.

IdentityRole<TKey>(String)

Initializes a new instance of IdentityRole<TKey>.

IdentityRole<TKey>()

Initializes a new instance of IdentityRole<TKey>.

public:
 IdentityRole();
public IdentityRole ();
Public Sub New ()

Applies to

IdentityRole<TKey>(String)

Initializes a new instance of IdentityRole<TKey>.

public:
 IdentityRole(System::String ^ roleName);
public IdentityRole (string roleName);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key (requires 'Key :> IEquatable<'Key>)> : string -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key (requires 'Key :> IEquatable<'Key>)>
Public Sub New (roleName As String)

Parameters

roleName
String

The role name.

Applies to