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>.

C#
public IdentityRole ();

Applies to

ASP.NET Core 1.1 a ASP.NET Core 1.0
Produkt Versiounen
ASP.NET Core 1.0, 1.1

IdentityRole<TKey>(String)

Initializes a new instance of IdentityRole<TKey>.

C#
public IdentityRole (string roleName);

Parameters

roleName
String

The role name.

Applies to

ASP.NET Core 1.1
Produkt Versiounen
ASP.NET Core 1.1