اقرأ باللغة الإنجليزية

مشاركة عبر


IdentityRole Constructors

Definition

Overloads

IdentityRole()

Initializes a new instance of IdentityRole.

IdentityRole(String)

Initializes a new instance of IdentityRole.

IdentityRole()

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

Initializes a new instance of IdentityRole.

C#
public IdentityRole ();

Remarks

The Id property is initialized to form a new GUID string value.

Applies to

ASP.NET Core 9.0 والإصدارات الأخرى
منتج الإصدارات
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

IdentityRole(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

Initializes a new instance of IdentityRole.

C#
public IdentityRole (string roleName);

Parameters

roleName
String

The role name.

Remarks

The Id property is initialized to form a new GUID string value.

Applies to

ASP.NET Core 9.0 والإصدارات الأخرى
منتج الإصدارات
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0