C# Class System.Security.SecurityElement

Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddAttributeSafe void
AddChild void
AddChildNoDuplicates void
ConvertSecurityElementFactories void
GetEscapeSequence string
GetUnescapeSequence string
ISecurityElementFactory SecurityElement
ISecurityElementFactory object
ISecurityElementFactory string
ISecurityElementFactory string
SearchForTextOfLocalName string
SecurityElement System.Collections
ToString void
ToWriter void
Unescape string

Public Methods

Method Description
AddAttribute ( string name, string value ) : void
AddChild ( SecurityElement child ) : void
Attribute ( string name ) : string
Copy ( ) : SecurityElement
Equal ( SecurityElement other ) : bool
Escape ( string str ) : string
FromString ( string xml ) : SecurityElement
IsValidAttributeName ( string name ) : bool
IsValidAttributeValue ( string value ) : bool
IsValidTag ( string tag ) : bool
IsValidText ( string text ) : bool
SearchForChildByTag ( string tag ) : SecurityElement
SearchForTextOfTag ( string tag ) : string
SecurityElement ( string tag ) : System.Collections
SecurityElement ( string tag, string text ) : System.Collections
ToString ( ) : string

Private Methods

Method Description
AddAttributeSafe ( string name, string value ) : void
AddChild ( ISecurityElementFactory child ) : void
AddChildNoDuplicates ( ISecurityElementFactory child ) : void
ConvertSecurityElementFactories ( ) : void
GetEscapeSequence ( char c ) : string
GetUnescapeSequence ( string str, int index, int &newIndex ) : string
ISecurityElementFactory ( ) : SecurityElement
ISecurityElementFactory ( ) : object
ISecurityElementFactory ( ) : string
ISecurityElementFactory ( string attributeName ) : string
SearchForTextOfLocalName ( string strLocalName ) : string
SecurityElement ( ) : System.Collections
ToString ( string indent, object obj, string>.Action write ) : void
ToWriter ( StreamWriter writer ) : void
Unescape ( string str ) : string

Method Details

AddAttribute() public method

public AddAttribute ( string name, string value ) : void
name string
value string
return void

AddChild() public method

public AddChild ( SecurityElement child ) : void
child SecurityElement
return void

Attribute() public method

public Attribute ( string name ) : string
name string
return string

Copy() public method

public Copy ( ) : SecurityElement
return SecurityElement

Equal() public method

public Equal ( SecurityElement other ) : bool
other SecurityElement
return bool

Escape() public static method

public static Escape ( string str ) : string
str string
return string

FromString() public static method

public static FromString ( string xml ) : SecurityElement
xml string
return SecurityElement

IsValidAttributeName() public static method

public static IsValidAttributeName ( string name ) : bool
name string
return bool

IsValidAttributeValue() public static method

public static IsValidAttributeValue ( string value ) : bool
value string
return bool

IsValidTag() public static method

public static IsValidTag ( string tag ) : bool
tag string
return bool

IsValidText() public static method

public static IsValidText ( string text ) : bool
text string
return bool

SearchForChildByTag() public method

public SearchForChildByTag ( string tag ) : SecurityElement
tag string
return SecurityElement

SearchForTextOfTag() public method

public SearchForTextOfTag ( string tag ) : string
tag string
return string

SecurityElement() public method

public SecurityElement ( string tag ) : System.Collections
tag string
return System.Collections

SecurityElement() public method

public SecurityElement ( string tag, string text ) : System.Collections
tag string
text string
return System.Collections

ToString() public method

public ToString ( ) : string
return string