Свойство | Type | Description | |
---|---|---|---|
CreateArrayInstance | |||
CreateInstance | object | ||
GetObjectInfo | |||
TranslateTypeByKey | TypeInfo |
Méthode | Description | |
---|---|---|
Deserialize ( |
Deserialzes an object from XmlDocument.
|
|
Deserialize ( |
Deserializes an Object from the specified XmlNode.
|
|
Deserialize ( string filename ) : object |
Deserialzes an object from a xml file.
|
|
Dispose ( ) : void |
Dispose, release references.
|
|
RegisterAssemblies ( |
Registers a list of assemblies.
|
|
RegisterAssemblies ( List |
Registers a list of assemblies.
|
|
RegisterAssembly ( |
Registers an Assembly. Register Assemblies which are not known at compile time, e.g. PlugIns or whatever. |
|
Reset ( ) : void |
Clears the typedictionary collection.
|
|
XmlDeserializer ( ) : System | ||
XmlDeserializer ( Action |
Méthode | Description | |
---|---|---|
AddAssemblyRegisterToCache ( ) : void |
Adds the assembly register items to the assembly cache.
|
|
CreateType ( String assembly, string type ) : |
Creates a type from the specified assembly and type names. In case of failure null will be returned.
|
|
CreateType ( TypeInfo info ) : |
Creates a type from the specified assembly and type names included in the TypeInfo parameter. In case of failure null will be returned.
|
|
GetArrayLength ( |
Returns the length of the array of a arry-XmlNode.
|
|
GetAssembly ( String assembly ) : |
|
|
GetAttributeValue ( |
Returns the value or the attribute with the specified name from the given node if it is not null or empty.
|
|
GetBinaryConstructorType ( |
|
|
GetConverter ( |
Returns the TypeConverter of a Type.
|
|
GetObject ( |
Creates an instance by the contents of the given XmlNode.
|
|
GetProperties ( object parent, |
Reads the properties of the specified node and sets them an the parent object. This is the central method which is called recursivly! |
|
HasBinaryConstructor ( |
|
|
ParseTypeDictionary ( |
Parses the TypeDictionary (if given). The TypeDictionary is Hashtable in which TypeInfo items are stored. |
|
SetCollectionValues ( ICollection coll, |
Sets the entries on an ICollection implementation.
|
|
SetDictionaryValues ( IDictionary dictionary, |
Sets the entries of an IDictionary implementation.
|
|
SetListValues ( IList list, |
Sets the entries on an IList implementation.
|
Méthode | Description | |
---|---|---|
CreateArrayInstance ( |
Creates an instance of an Array by the specified ObjectInfo.
|
|
CreateInstance ( |
Creates an instance by the specified ObjectInfo.
|
|
GetObjectInfo ( |
Gets an ObjectInfo instance by the attributes of the specified XmlNode.
|
|
TranslateTypeByKey ( String key ) : TypeInfo |
|
protected AddAssemblyRegisterToCache ( ) : void | ||
Résultat | void |
protected CreateType ( String assembly, string type ) : |
||
assembly | String | |
type | string | |
Résultat |
protected CreateType ( TypeInfo info ) : |
||
info | TypeInfo | |
Résultat |
public Deserialize ( |
||
document | ||
Résultat | object |
public Deserialize ( |
||
node | ||
Résultat | object |
public Deserialize ( string filename ) : object | ||
filename | string | |
Résultat | object |
protected GetArrayLength ( |
||
parent | ||
Résultat | int |
protected GetAssembly ( String assembly ) : |
||
assembly | String | |
Résultat |
protected GetAttributeValue ( |
||
node | ||
name | string | |
Résultat | string |
protected GetBinaryConstructorType ( |
||
node | ||
Résultat | TypeInfo |
protected GetConverter ( |
||
type | ||
Résultat |
protected GetObject ( |
||
node | ||
Résultat | object |
protected GetProperties ( object parent, |
||
parent | object | |
node | ||
Résultat | void |
protected HasBinaryConstructor ( |
||
node | ||
Résultat | bool |
protected ParseTypeDictionary ( |
||
parentNode | ||
Résultat |
public RegisterAssemblies ( |
||
assemblies | ||
Résultat | int |
public RegisterAssemblies ( List |
||
assemblies | List |
|
Résultat | int |
public RegisterAssembly ( |
||
assembly | ||
Résultat | void |
protected SetCollectionValues ( ICollection coll, |
||
coll | ICollection | |
parentNode | ||
Résultat | void |
protected SetDictionaryValues ( IDictionary dictionary, |
||
dictionary | IDictionary | |
parentNode | ||
Résultat | void |
protected SetListValues ( IList list, |
||
list | IList | |
parentNode | ||
Résultat | void |
public XmlDeserializer ( Action |
||
typeNotFoundAction | Action |
|
Résultat | System |