C# Class System.Security.Util.XMLUtil

Mostrar archivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
AddClassAttribute ( SecurityElement element, Type type, String typename ) : void
BitFieldEnumToString ( Type type, Object value ) : String
CreateCodeGroup ( SecurityElement el ) : CodeGroup
CreatePermission ( SecurityElement el, System.Security.Permissions.PermissionState permState, bool ignoreTypeLoadFailures ) : IPermission
IsPermissionElement ( IPermission ip, SecurityElement el ) : bool
IsUnrestricted ( SecurityElement el ) : bool
NewPermissionElement ( IPermission ip ) : SecurityElement
NewPermissionElement ( String name ) : SecurityElement
SecurityObjectToXmlString ( Object ob ) : String
XmlStringToSecurityObject ( String s ) : Object

Private Methods

Method Description
CreateMembershipCondition ( SecurityElement el ) : IMembershipCondition
GetClassFromElement ( SecurityElement el, bool ignoreTypeLoadFailures ) : Type
ParseElementForObjectCreation ( SecurityElement el, String requiredNamespace, String &className, int &classNameStart, int &classNameLength ) : bool

Method Details

AddClassAttribute() public static method

public static AddClassAttribute ( SecurityElement element, Type type, String typename ) : void
element System.Security.SecurityElement
type System.Type
typename String
return void

BitFieldEnumToString() public static method

public static BitFieldEnumToString ( Type type, Object value ) : String
type System.Type
value Object
return String

CreateCodeGroup() public static method

public static CreateCodeGroup ( SecurityElement el ) : CodeGroup
el System.Security.SecurityElement
return System.Security.Policy.CodeGroup

CreatePermission() public static method

public static CreatePermission ( SecurityElement el, System.Security.Permissions.PermissionState permState, bool ignoreTypeLoadFailures ) : IPermission
el System.Security.SecurityElement
permState System.Security.Permissions.PermissionState
ignoreTypeLoadFailures bool
return IPermission

IsPermissionElement() public static method

public static IsPermissionElement ( IPermission ip, SecurityElement el ) : bool
ip IPermission
el System.Security.SecurityElement
return bool

IsUnrestricted() public static method

public static IsUnrestricted ( SecurityElement el ) : bool
el System.Security.SecurityElement
return bool

NewPermissionElement() public static method

public static NewPermissionElement ( IPermission ip ) : SecurityElement
ip IPermission
return System.Security.SecurityElement

NewPermissionElement() public static method

public static NewPermissionElement ( String name ) : SecurityElement
name String
return System.Security.SecurityElement

SecurityObjectToXmlString() public static method

public static SecurityObjectToXmlString ( Object ob ) : String
ob Object
return String

XmlStringToSecurityObject() public static method

public static XmlStringToSecurityObject ( String s ) : Object
s String
return Object