Table of Contents

Class FileMapLocator

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

Denotes a locator that locates URI through a mapping to files

public class FileMapLocator : MapLocator, IModelLocator
Inheritance
FileMapLocator
Implements
Inherited Members

Constructors

FileMapLocator()

Creates a new instance

public FileMapLocator()

FileMapLocator(IDictionary<Uri, string>)

Creates a new instance

public FileMapLocator(IDictionary<Uri, string> mappings)

Parameters

mappings IDictionary<Uri, string>

the mappings

Methods

Open(Uri)

Opens the given URI

public override Stream Open(Uri repositoryId)

Parameters

repositoryId Uri

the URI as used in the repository

Returns

Stream

A stream