Show / Hide Table of Contents

Class MetaRepository

Denotes the repository with the metamodels contained in the loaded assemblies

Inheritance
object
MetaRepository
Implements
IModelRepository
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Models.Repository
Assembly: NMF.Models.dll
Syntax
public sealed class MetaRepository : IModelRepository

Properties

| Edit this page View Source

Instance

Gets the instance

Declaration
public static MetaRepository Instance { get; }
Property Value
Type Description
MetaRepository
| Edit this page View Source

Models

Declaration
public ModelCollection Models { get; }
Property Value
Type Description
ModelCollection
| Edit this page View Source

Serializer

Gets the serializer used for the deserialization of the models

Declaration
public ModelSerializer Serializer { get; }
Property Value
Type Description
ModelSerializer

Methods

| Edit this page View Source

Resolve(string)

Declaration
public IModelElement Resolve(string uriString)
Parameters
Type Name Description
string uriString
Returns
Type Description
IModelElement
| Edit this page View Source

Resolve(Uri)

Declaration
public IModelElement Resolve(Uri uri)
Parameters
Type Name Description
Uri uri
Returns
Type Description
IModelElement
| Edit this page View Source

ResolveClass(Type)

Resolves the given system type into an NMeta type instance

Declaration
public IType ResolveClass(Type systemType)
Parameters
Type Name Description
Type systemType

The system type

Returns
Type Description
IType

The type object

Exceptions
Type Condition
ArgumentNullException

Thrown if systemtype is null

| Edit this page View Source

ResolveType(string)

Resolves the given uri into a type

Declaration
public IType ResolveType(string uriString)
Parameters
Type Name Description
string uriString

The absolute uri

Returns
Type Description
IType

The type object

Implements

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