Property | Type | Description | |
---|---|---|---|
CreateArrayInstance | |||
CreateInstance | object | ||
GetObjectInfo | |||
TranslateTypeByKey | TypeInfo |
Method | 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 |
Method | 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.
|
Method | 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 | ||
return | void |
protected CreateType ( String assembly, string type ) : |
||
assembly | String | |
type | string | |
return |
protected CreateType ( TypeInfo info ) : |
||
info | TypeInfo | |
return |
public Deserialize ( |
||
document | ||
return | object |
public Deserialize ( |
||
node | ||
return | object |
public Deserialize ( string filename ) : object | ||
filename | string | |
return | object |
protected GetArrayLength ( |
||
parent | ||
return | int |
protected GetAssembly ( String assembly ) : |
||
assembly | String | |
return |
protected GetAttributeValue ( |
||
node | ||
name | string | |
return | string |
protected GetBinaryConstructorType ( |
||
node | ||
return | TypeInfo |
protected GetConverter ( |
||
type | ||
return |
protected GetObject ( |
||
node | ||
return | object |
protected GetProperties ( object parent, |
||
parent | object | |
node | ||
return | void |
protected HasBinaryConstructor ( |
||
node | ||
return | bool |
protected ParseTypeDictionary ( |
||
parentNode | ||
return |
public RegisterAssemblies ( |
||
assemblies | ||
return | int |
public RegisterAssemblies ( List |
||
assemblies | List |
|
return | int |
public RegisterAssembly ( |
||
assembly | ||
return | void |
protected SetCollectionValues ( ICollection coll, |
||
coll | ICollection | |
parentNode | ||
return | void |
protected SetDictionaryValues ( IDictionary dictionary, |
||
dictionary | IDictionary | |
parentNode | ||
return | void |
protected SetListValues ( IList list, |
||
list | IList | |
parentNode | ||
return | void |
public XmlDeserializer ( Action |
||
typeNotFoundAction | Action |
|
return | System |