Свойство | Тип | Описание | |
---|---|---|---|
Reader |
Метод | Описание | |
---|---|---|
BadXml ( string message ) : void |
Throw an exception indicating the file format was wrong.
|
|
CheckElement ( string elementName ) : void |
Check that we're at the given element name.
|
|
Dispose ( ) : void |
Finish the file and close it.
|
|
FindSubElement ( bool first ) : bool | ||
GetAttributeBool ( string name ) : bool | ||
GetAttributeBool ( string name, bool defValue ) : bool | ||
GetAttributeColor ( string name, |
||
GetAttributeFloat ( string name ) : float | ||
GetAttributeFloat ( string name, float defValue ) : float | ||
GetAttributeInt ( string name ) : int | ||
GetAttributeInt ( string name, int defValue ) : int | ||
GetAttributeString ( string name ) : string | ||
GetAttributeString ( string name, string defValue ) : string | ||
GetContentBase64 ( ) : |
||
GetContentString ( ) : string | ||
MoveToContent ( ) : void |
Move to the next content node.
|
|
Read ( ) : bool |
Read to next content node.
|
|
Skip ( ) : void |
Skip children of the current node.
|
|
XmlInput ( TextReader reader, string filename ) : System |
Create an XmlInput to read XML from a TextReader.
|
|
XmlInput ( string filename ) : System |
Create an XmlInput to read XML from a particular file.
|
public BadXml ( string message ) : void | ||
message | string | Message, with String.Format style fill-ins. |
Результат | void |
public CheckElement ( string elementName ) : void | ||
elementName | string | |
Результат | void |
public FindSubElement ( bool first ) : bool | ||
first | bool | |
Результат | bool |
public GetAttributeBool ( string name ) : bool | ||
name | string | |
Результат | bool |
public GetAttributeBool ( string name, bool defValue ) : bool | ||
name | string | |
defValue | bool | |
Результат | bool |
public GetAttributeColor ( string name, |
||
name | string | |
defValue | ||
Результат |
public GetAttributeFloat ( string name ) : float | ||
name | string | |
Результат | float |
public GetAttributeFloat ( string name, float defValue ) : float | ||
name | string | |
defValue | float | |
Результат | float |
public GetAttributeInt ( string name ) : int | ||
name | string | |
Результат | int |
public GetAttributeInt ( string name, int defValue ) : int | ||
name | string | |
defValue | int | |
Результат | int |
public GetAttributeString ( string name ) : string | ||
name | string | |
Результат | string |
public GetAttributeString ( string name, string defValue ) : string | ||
name | string | |
defValue | string | |
Результат | string |
public GetContentBase64 ( ) : |
||
Результат |
public XmlInput ( TextReader reader, string filename ) : System | ||
reader | TextReader | |
filename | string | |
Результат | System |
public XmlInput ( string filename ) : System | ||
filename | string | |
Результат | System |