<< Click to Display Table of Contents >> Navigation: »No topics above this level« SerializationExtensions Members |
SerializationExtensions overview
Gets the XML root attribute name space of instance type definition. Information is present as custom attribute in the type definition. eg [System.Xml.Serialization.XmlRootAttribute(Namespace = "somenamespace", IsNullable = false)] |
|
Gets the XML type attribute name space of instance type definition. Information is present as custom attribute in the type definition. eg [System.Xml.Serialization.XmlTypeAttribute(Namespace = "somenamespace", IsNullable = false)] |
|
Prepares instance for deserialize. If the instance contains only a part of a file elements usually do not have an xmlns attribute. If the type information of the instance defines an namespace deserialization i not possible without such an attribute. This function checks for existing namespace attributes in the given content elements and add them if nessesary. Information about needed namespaces is taken from instances type information. |
|
Removes the invalid XML chars from instance which would result in invalid files using xml serialization. Invalid chars are basically asci control charackters like CTRL+A |
|
Replaces invalid xml chars in all string properties of instance. |
|
Serializes instance to stream using the serialization information of the instance type. |
|
Serializes instance to a String using the serialization information of the instance type. |
|
Overloaded. Deserialize the content of fileInfo into an instance of the given type |
SerializationExtensions Class | BR.AN.PviServices Namespace
Generated from assembly BR.AN.PviServices [8.1.0.4]