C# Class NMF.Models.Model

Inheritance: ModelElement
ファイルを表示 Open project: NMFCode/NMF Class Usage Examples

Public Methods

Method Description
GetClass ( ) : Meta.IClass
RegisterId ( string id, ModelElement element ) : bool
Resolve ( string path ) : IModelElement
UnregisterId ( string id ) : bool

Protected Methods

Method Description
CreateUriWithFragment ( string fragment, bool absolute ) : Uri
GetModelElementForReference ( string reference, int index ) : IModelElement
GetRelativePathForChild ( IModelElement child ) : string
GetRelativePathForNonIdentifiedChild ( IModelElement child ) : string

Private Methods

Method Description
Model ( ) : System
ResolveNonIdentified ( string path ) : IModelElement

Method Details

CreateUriWithFragment() protected method

protected CreateUriWithFragment ( string fragment, bool absolute ) : Uri
fragment string
absolute bool
return System.Uri

GetClass() public method

public GetClass ( ) : Meta.IClass
return Meta.IClass

GetModelElementForReference() protected method

protected GetModelElementForReference ( string reference, int index ) : IModelElement
reference string
index int
return IModelElement

GetRelativePathForChild() protected method

protected GetRelativePathForChild ( IModelElement child ) : string
child IModelElement
return string

GetRelativePathForNonIdentifiedChild() protected method

protected GetRelativePathForNonIdentifiedChild ( IModelElement child ) : string
child IModelElement
return string

RegisterId() public method

public RegisterId ( string id, ModelElement element ) : bool
id string
element ModelElement
return bool

Resolve() public method

public Resolve ( string path ) : IModelElement
path string
return IModelElement

UnregisterId() public method

public UnregisterId ( string id ) : bool
id string
return bool