Show / Hide Table of Contents

Class XmiSerializationContext

Denotes a deserialization context for XMI

Inheritance
object
XmlSerializationContext
XmiSerializationContext
ModelSerializationContext
Inherited Members
XmlSerializationContext.Cleanup()
XmlSerializationContext.RegisterId(string, object, ITypeSerializationInfo)
XmlSerializationContext.ContainsId(string, ITypeSerializationInfo)
XmlSerializationContext.OnNameClash(string, ITypeSerializationInfo, IEnumerable<object>, object)
XmlSerializationContext.Resolve(string, ITypeSerializationInfo, Type, bool, object)
XmlSerializationContext.IsBlocked(object, IPropertySerializationInfo)
XmlSerializationContext.BlockProperty(object, IPropertySerializationInfo)
XmlSerializationContext.Root
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Serialization.Xmi
Assembly: NMF.Serialization.dll
Syntax
public class XmiSerializationContext : XmlSerializationContext

Constructors

| Edit this page View Source

XmiSerializationContext(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 Source

IDs

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 Source

GetId(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

| Edit this page View Source

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

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX