Table of Contents

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 object

the root object of the deserialization

Properties

IDs

Gets the stored identfiers

public IEnumerable<KeyValuePair<string, object>> IDs { get; }

Property Value

IEnumerable<KeyValuePair<string, object>>

Methods

GetId(object)

Gets the identifier of the given object

public string GetId(object input)

Parameters

input object

the object

Returns

string

the objects identifier

SetId(object, string)

Sets the identifier of the given object

public void SetId(object input, string id)

Parameters

input object

the object

id string

the identifier