Class Xmlization.Serialize
Serialize instances of meta-model classes to XML.
Inheritance
System.Object
Xmlization.Serialize
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public static class Serialize
Examples
Here is an example how to serialize an instance of IHasSemantics:
var anInstance = new Aas.IHasSemantics(
/* ... some constructor arguments ... */
);
var writer = new System.Xml.XmlWriter( /* some arguments */ );
Serialize.To(
anInstance,
writer);
Methods
| Improve this Doc View SourceTo(IClass, XmlWriter)
Serialize an instance of the meta-model to XML.
Declaration
public static void To(IClass that, XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IClass | that | |
System.Xml.XmlWriter | writer |