Bagikan melalui


IdentityRole<TKey,TUserRole,TRoleClaim> Konstruktor

Definisi

Overload

IdentityRole<TKey,TUserRole,TRoleClaim>()

Menginisialisasi instans IdentityRole<TKey>baru .

IdentityRole<TKey,TUserRole,TRoleClaim>(String)

Menginisialisasi instans IdentityRole<TKey>baru .

IdentityRole<TKey,TUserRole,TRoleClaim>()

Menginisialisasi instans IdentityRole<TKey>baru .

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

Berlaku untuk

IdentityRole<TKey,TUserRole,TRoleClaim>(String)

Menginisialisasi instans IdentityRole<TKey>baru .

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)

Parameter

roleName
String

Nama peran.

Berlaku untuk