Class XmiSerializationContext
Denotes a deserialization context for XMI
Inherited Members
Namespace: NMF.Serialization.Xmi
Assembly: NMF.Serialization.dll
Syntax
public class XmiSerializationContext : XmlSerializationContext
Constructors
| Edit this page View SourceXmiSerializationContext(object)
Creates a new instance
Declaration
public XmiSerializationContext(object root)
Parameters
Type | Name | Description |
---|---|---|
object | root | the root object of the deserialization |
Properties
| Edit this page View SourceIDs
Gets the stored identfiers
Declaration
public IEnumerable<KeyValuePair<string, object>> IDs { get; }
Property Value
Type | Description |
---|---|
IEnumerable<KeyValuePair<string, object>> |
Methods
| Edit this page View SourceGetId(object)
Gets the identifier of the given object
Declaration
public string GetId(object input)
Parameters
Type | Name | Description |
---|---|---|
object | input | the object |
Returns
Type | Description |
---|---|
string | the objects identifier |
SetId(object, string)
Sets the identifier of the given object
Declaration
public void SetId(object input, string id)
Parameters
Type | Name | Description |
---|---|---|
object | input | the object |
string | id | the identifier |