Method | Description | |
---|---|---|
CanDebug ( this permissions ) : bool | ||
IsContributor ( this permissions ) : bool | ||
Matches ( this permission, string resource ) : bool | ||
ToPermissions ( this context ) : Permissions | ||
ToReason ( this value, bool isAuthorized = false ) : string |
public static CanDebug ( this permissions ) : bool | ||
permissions | this | |
return | bool |
public static IsContributor ( this permissions ) : bool | ||
permissions | this | |
return | bool |
public static Matches ( this permission, string resource ) : bool | ||
permission | this | |
resource | string | |
return | bool |
public static ToPermissions ( this context ) : Permissions | ||
context | this | |
return | Permissions |
public static ToReason ( this value, bool isAuthorized = false ) : string | ||
value | this | |
isAuthorized | bool | |
return | string |