Interface IModelRepository
- Namespace
- NMF.Models.Repository
- Assembly
- NMF.Models.dll
Denotes a repository of model elements
public interface IModelRepository
Properties
Models
Gets the collection of models managed by this repository
ModelCollection Models { get; }
Property Value
Methods
Resolve(Uri, bool)
Resolves the given URI to a model element
IModelElement Resolve(Uri uri, bool loadOnDemand = true)
Parameters
uri
Urithe URI of the model element
loadOnDemand
booltrue, if the model should be loaded in case it is not already in memory
Returns
- IModelElement
the model element with the given URI or null, if it was not found
Events
BubbledChange
Gets raised when there is any change in any of the models
event EventHandler<BubbledChangeEventArgs> BubbledChange