Méthode | 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 | |
Résultat | bool |
public static IsContributor ( this permissions ) : bool | ||
permissions | this | |
Résultat | bool |
public static Matches ( this permission, string resource ) : bool | ||
permission | this | |
resource | string | |
Résultat | bool |
public static ToPermissions ( this context ) : Permissions | ||
context | this | |
Résultat | Permissions |
public static ToReason ( this value, bool isAuthorized = false ) : string | ||
value | this | |
isAuthorized | bool | |
Résultat | string |