Table of Contents

Class MetaRepository

Namespace
NMF.Models.Repository
Assembly
NMF.Models.dll

Denotes the repository with the metamodels contained in the loaded assemblies

public sealed class MetaRepository : IModelRepository
Inheritance
MetaRepository
Implements
Inherited Members

Properties

Instance

Gets the instance

public static MetaRepository Instance { get; }

Property Value

MetaRepository

Models

Gets the collection of models managed by this repository

public ModelCollection Models { get; }

Property Value

ModelCollection

Serializer

Gets the serializer used for the deserialization of the models

public ModelSerializer Serializer { get; }

Property Value

ModelSerializer

Methods

Resolve(string)

public IModelElement Resolve(string uriString)

Parameters

uriString string

Returns

IModelElement

Resolve(Uri)

public IModelElement Resolve(Uri uri)

Parameters

uri Uri

Returns

IModelElement

ResolveClass(Type)

Resolves the given system type into an NMeta type instance

public IType ResolveClass(Type systemType)

Parameters

systemType Type

The system type

Returns

IType

The type object

Exceptions

ArgumentNullException

Thrown if systemtype is null

ResolveType(string)

Resolves the given uri into a type

public IType ResolveType(string uriString)

Parameters

uriString string

The absolute uri

Returns

IType

The type object