IdentityRole<TKey> 构造函数

定义

重载

IdentityRole<TKey>()

初始化 IdentityRole<TKey> 的新实例。

IdentityRole<TKey>(String)

初始化 IdentityRole<TKey> 的新实例。

IdentityRole<TKey>()

Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs

初始化 IdentityRole<TKey> 的新实例。

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

适用于

IdentityRole<TKey>(String)

Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs

初始化 IdentityRole<TKey> 的新实例。

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

参数

roleName
String

角色名称。

适用于