C# Class YurikoCS.Permission

Show file Open project: ItalianDevs4PM/Yuriko-CS Class Usage Examples

Public Methods

Method Description
GetDescription ( ) : string
GetNode ( ) : string
GetPermissionLevel ( ) : PermissionLevel
OverridePermission ( Permission permission ) : bool
Permission ( string node ) : System
Permission ( string node, string description ) : System
Permission ( string node, string description, PermissionLevel level ) : System
PermissionExists ( Permission permission ) : bool
RecalculatePermissions ( ) : void
RegisterPermission ( Permission permission ) : bool
UnregisterPermission ( Permission permission ) : bool
getGlobalPermissions ( ) : Permission>.Dictionary

Method Details

GetDescription() public method

public GetDescription ( ) : string
return string

GetNode() public method

public GetNode ( ) : string
return string

GetPermissionLevel() public method

public GetPermissionLevel ( ) : PermissionLevel
return PermissionLevel

OverridePermission() public static method

public static OverridePermission ( Permission permission ) : bool
permission Permission
return bool

Permission() public method

public Permission ( string node ) : System
node string
return System

Permission() public method

public Permission ( string node, string description ) : System
node string
description string
return System

Permission() public method

public Permission ( string node, string description, PermissionLevel level ) : System
node string
description string
level PermissionLevel
return System

PermissionExists() public static method

public static PermissionExists ( Permission permission ) : bool
permission Permission
return bool

RecalculatePermissions() public static method

public static RecalculatePermissions ( ) : void
return void

RegisterPermission() public static method

public static RegisterPermission ( Permission permission ) : bool
permission Permission
return bool

UnregisterPermission() public static method

public static UnregisterPermission ( Permission permission ) : bool
permission Permission
return bool

getGlobalPermissions() public static method

public static getGlobalPermissions ( ) : Permission>.Dictionary
return Permission>.Dictionary