Class XmiSerializationContext
- Namespace
- NMF.Serialization.Xmi
- Assembly
- NMF.Serialization.dll
Denotes a deserialization context for XMI
public class XmiSerializationContext : XmlSerializationContext
- Inheritance
-
XmiSerializationContext
- Derived
- Inherited Members
Constructors
XmiSerializationContext(object)
Creates a new instance
public XmiSerializationContext(object root)
Parameters
root
objectthe root object of the deserialization
Properties
IDs
Gets the stored identfiers
public IEnumerable<KeyValuePair<string, object>> IDs { get; }
Property Value
Methods
GetId(object)
Gets the identifier of the given object
public string GetId(object input)
Parameters
input
objectthe object
Returns
- string
the objects identifier
SetId(object, string)
Sets the identifier of the given object
public void SetId(object input, string id)