C# 클래스 ExoModel.ModelPath

Represents a property path from a root ModelType with one or more steps.
Due to inheritance, property paths may branch as properties with similar names appear on siblings in the inheritance hierarchy.
상속: IDisposable
파일 보기 프로젝트 열기: vc3/ExoModel 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetInstances ( ModelInstance root ) : HashSet

Gets the model for the specified root object including all objects on the path.

ToString ( ) : string

Returns the string representation of the path.

비공개 메소드들

메소드 설명
CreatePath ( ModelType rootType, Expression expression ) : ModelPath

Creates a new ModelPath instance for the specified root ModelType based on the specified Expression tree.

CreatePath ( ModelType rootType, string path ) : ModelPath

Creates a new ModelPath instance for the specified root ModelType and path string.

GetInstances ( ModelInstance instance, ModelStepList steps, HashSet model ) : void

Recursively loads a path in the model by walking steps.

Notify ( ModelInstance instance ) : void

Notify path subscribers that the path has changed.

RemoveStep ( ModelStep step ) : void

Safely removes an invalid step from a path.

Subscribe ( ModelStepList steps ) : void

Recursively subscribes to path changes.

Unsubscribe ( ModelStepList steps ) : void

Recursively unsubscribes to path changes.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetInstances() 공개 메소드

Gets the model for the specified root object including all objects on the path.
public GetInstances ( ModelInstance root ) : HashSet
root ModelInstance
리턴 HashSet

ToString() 공개 메소드

Returns the string representation of the path.
public ToString ( ) : string
리턴 string