C# Class System.Security.PermissionToken

Inheritance: ISecurityEncodable
Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
FindToken ( Type cls ) : PermissionToken
FindTokenByIndex ( int i ) : PermissionToken
FromXml ( SecurityElement elRoot ) : void
GetToken ( IPermission perm ) : PermissionToken
GetToken ( String typeStr ) : PermissionToken
GetToken ( String typeStr, bool bCreateMscorlib ) : PermissionToken
GetToken ( Type cls ) : PermissionToken
IsTokenProperlyAssigned ( IPermission perm, PermissionToken token ) : bool
ToXml ( ) : SecurityElement

Private Methods

Method Description
IsMscorlibClassName ( string className ) : bool
PermissionToken ( ) : System
PermissionToken ( int index, PermissionTokenType type, String strTypeName ) : System

Method Details

FindToken() public static method

public static FindToken ( Type cls ) : PermissionToken
cls System.Type
return PermissionToken

FindTokenByIndex() public static method

public static FindTokenByIndex ( int i ) : PermissionToken
i int
return PermissionToken

FromXml() public method

public FromXml ( SecurityElement elRoot ) : void
elRoot SecurityElement
return void

GetToken() public static method

public static GetToken ( IPermission perm ) : PermissionToken
perm IPermission
return PermissionToken

GetToken() public static method

public static GetToken ( String typeStr ) : PermissionToken
typeStr String
return PermissionToken

GetToken() public static method

public static GetToken ( String typeStr, bool bCreateMscorlib ) : PermissionToken
typeStr String
bCreateMscorlib bool
return PermissionToken

GetToken() public static method

public static GetToken ( Type cls ) : PermissionToken
cls System.Type
return PermissionToken

IsTokenProperlyAssigned() public static method

public static IsTokenProperlyAssigned ( IPermission perm, PermissionToken token ) : bool
perm IPermission
token PermissionToken
return bool

ToXml() public method

public ToXml ( ) : SecurityElement
return SecurityElement