packages/Abp.Zero.3.2.5/lib/net461/Abp.Zero.xml
(开头部分) 17KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Abp.Zero</name>
</assembly>
<members>
<member name="T:Abp.Authorization.PermissionChecker`2">
<summary>
Application should inherit this class to implement <see cref="T:Abp.Authorization.IPermissionChecker"/>.
</summary>
<typeparam name="TRole"></typeparam>
<typeparam name="TUser"></typeparam>
</member>
<member name="M:Abp.Authorization.PermissionChecker`2.#ctor(Abp.Authorization.Users.AbpUserManager{`0,`1})">
<summary>
Constructor.
</summary>
</member>
<member name="T:Abp.Authorization.Roles.AbpRole`1">
<summary>
Represents a role in an application. A role is used to group permissions.
</summary>
<remarks>
Application should use permissions to check if user is granted to perform an operation.
Checking 'if a user has a role' is not possible until the role is static (<see cref="P:Abp.Authorization.Roles.AbpRoleBase.IsStatic"/>).
Static roles can be used in the code and can not be deleted by users.
Non-static (dynamic) roles can be added/removed by users and we can not know their name while coding.
A user can have multiple roles. Thus, user will have all permissions of all assigned roles.
</remarks>
</member>
<member name="M:Abp.Authorization.Roles.AbpRole`1.#ctor(System.Nullable{System.Int32},System.String)">
<summary>
Creates a new <see cref="T:Abp.Authorization.Roles.AbpRole`1"/> object.
</summary>
<param name="tenantId">TenantId or null (if this is not a tenant-level role)</param>
<param name="displayName">Display name of the role</param>
</member>
<member name="M:Abp.Authorization.Roles.AbpRole`1.#ctor(System.Nullable{System.Int32},System.String,System.String)">
<summary>
Creates a new <see cref="T:Abp.Authorization.Roles.AbpRole`1"/> object.
</summary>
<param name="tenantId">TenantId or null (if this is not a tenant-level role)</param>
<param name="name">Unique role name</param>
<param name="displayName">Display name of the role</param>
</member>
<member name="T:Abp.Authorization.Roles.AbpRoleManager`2">
<summary>
Extends <see cref="T:Microsoft.AspNet.Identity.RoleManager`2"/> of ASP.NET Identity Framework.
Applications should derive this class with appropriate generic arguments.
</summary>
</member>
<member name="M:Abp.Authorization.Roles.AbpRoleManager`2.#ctor(Abp.Authorization.Roles.AbpRoleStore{`0,`1},Abp.Authorization.IPermissionManager,Abp.Zero.Configuration.IRoleManagementConfig,Abp.Runtime.Caching.ICacheManager,Abp.Domain.Uow.IUnitOfWorkManager)">
<summary>
Constructor.
</summary>
</member>
<member name="M:Abp.Authorization.Roles.AbpRoleManager`2.IsGrantedAsync(System.String,System.String)">
<summary>
Checks if a role is granted for a permission.
</summary>
后面还有 286 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
