Метод | Описание | |
---|---|---|
BinaryToObject ( Array data, Type objType ) : object | ||
Clone ( instance ) : T | ||
CollectionToXml ( |
Serializes list
|
|
DeserializeFromElement ( XmlElement element, Type objectType ) : object | ||
FormatXml ( string xml ) : string | ||
GetSerializer ( Type type, XmlAttributeOverrides overrides ) : XmlSerializer | ||
LoadAttributes ( object obj, XmlTextReader xtr ) : void | ||
ObjectToBinary ( object input, Type objType ) : byte[] | ||
ObjectToXML ( object input ) : string | ||
ObjectToXML ( object input, XmlAttributeOverrides xmlOverrides, XmlSerializerNamespaces ns ) : string | ||
ObjectToXML ( object input, XmlSerializerNamespaces ns ) : string | ||
ObjectToXML ( object input, XmlWriter writer, XmlAttributeOverrides xmlOverrides, XmlSerializerNamespaces ns ) : void | ||
XmlToCollection ( |
Deserializes list
|
|
XmlToObject ( string xml ) : T |
Метод | Описание | |
---|---|---|
StringToUTF8ByteArray ( String pXmlString ) : Byte[] | ||
UTF8ByteArrayToString ( Array characters ) : String | ||
Utf8ToUnicode ( string utf8 ) : string |
public static BinaryToObject ( Array data, Type objType ) : object | ||
data | Array | |
objType | Type | |
Результат | object |
public static CollectionToXml ( |
||
outputStream | Ouput stream to write the serialized data | |
list | ICollection | |
Результат | void |
public static DeserializeFromElement ( XmlElement element, Type objectType ) : object | ||
element | XmlElement | |
objectType | Type | |
Результат | object |
public static FormatXml ( string xml ) : string | ||
xml | string | |
Результат | string |
public static GetSerializer ( Type type, XmlAttributeOverrides overrides ) : XmlSerializer | ||
type | Type | |
overrides | XmlAttributeOverrides | |
Результат | XmlSerializer |
public static LoadAttributes ( object obj, XmlTextReader xtr ) : void | ||
obj | object | |
xtr | XmlTextReader | |
Результат | void |
public static ObjectToBinary ( object input, Type objType ) : byte[] | ||
input | object | |
objType | Type | |
Результат | byte[] |
public static ObjectToXML ( object input ) : string | ||
input | object | |
Результат | string |
public static ObjectToXML ( object input, XmlAttributeOverrides xmlOverrides, XmlSerializerNamespaces ns ) : string | ||
input | object | |
xmlOverrides | XmlAttributeOverrides | |
ns | XmlSerializerNamespaces | |
Результат | string |
public static ObjectToXML ( object input, XmlSerializerNamespaces ns ) : string | ||
input | object | |
ns | XmlSerializerNamespaces | |
Результат | string |
public static ObjectToXML ( object input, XmlWriter writer, XmlAttributeOverrides xmlOverrides, XmlSerializerNamespaces ns ) : void | ||
input | object | |
writer | XmlWriter | |
xmlOverrides | XmlAttributeOverrides | |
ns | XmlSerializerNamespaces | |
Результат | void |
public static XmlToCollection ( |
||
inputStream | ||
interfaceList | ICollection | |
Результат | void |
public static XmlToObject ( string xml ) : T | ||
xml | string | |
Результат | T |