Sdílet prostřednictvím


IdentityRole<TKey,TUserRole,TRoleClaim> Konstruktory

Definice

Přetížení

IdentityRole<TKey,TUserRole,TRoleClaim>()

Inicializuje novou instanci .IdentityRole<TKey>

IdentityRole<TKey,TUserRole,TRoleClaim>(String)

Inicializuje novou instanci .IdentityRole<TKey>

IdentityRole<TKey,TUserRole,TRoleClaim>()

Inicializuje novou instanci .IdentityRole<TKey>

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

Platí pro

IdentityRole<TKey,TUserRole,TRoleClaim>(String)

Inicializuje novou instanci .IdentityRole<TKey>

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

Parametry

roleName
String

Název role.

Platí pro