C# Class Permissions, csharp

Datei anzeigen Open project: exercism/csharp Class Usage Examples

Public Methods

Method Description
Check ( Permission, current, Permission, check ) : bool
Default ( AccountType, accountType ) : Permission,
Grant ( Permission current, Permission grant ) : Permission
Revoke ( Permission current, Permission revoke ) : Permission

Method Details

Check() public static method

public static Check ( Permission, current, Permission, check ) : bool
current Permission,
check Permission,
return bool

Default() public static method

public static Default ( AccountType, accountType ) : Permission,
accountType AccountType,
return Permission,

Grant() public static method

public static Grant ( Permission current, Permission grant ) : Permission
current Permission
grant Permission
return Permission

Revoke() public static method

public static Revoke ( Permission current, Permission revoke ) : Permission
current Permission
revoke Permission
return Permission