Show / Hide Table of Contents

Class MapLocator

Denotes an abstract locator that maps to preconfigured locations

Inheritance
object
MapLocator
FileMapLocator
ResourceMapLocator
Implements
IModelLocator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Models.Repository
Assembly: NMF.Models.dll
Syntax
public abstract class MapLocator : IModelLocator

Constructors

| Edit this page View Source

MapLocator()

Creates a new instance

Declaration
public MapLocator()
| Edit this page View Source

MapLocator(IDictionary<Uri, string>)

Creates a new instance

Declaration
public MapLocator(IDictionary<Uri, string> mappings)
Parameters
Type Name Description
IDictionary<Uri, string> mappings

The mappings

Properties

| Edit this page View Source

Mappings

Gets the preconfiured mappings

Declaration
public IDictionary<Uri, string> Mappings { get; }
Property Value
Type Description
IDictionary<Uri, string>

Methods

| Edit this page View Source

CanLocate(Uri)

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

GetRepositoryUri(Uri)

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

Open(Uri)

Declaration
public abstract Stream Open(Uri repositoryId)
Parameters
Type Name Description
Uri repositoryId
Returns
Type Description
Stream

Implements

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