C# 클래스 Revenj.TreePath

Structure for hierarchical modeling. Supports labels separated by dots. Only alphanumeric values allowed for labels. eg: Level1.Level2.Level3
파일 보기 프로젝트 열기: ngs-doo/revenj 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Empty TreePath

공개 메소드들

메소드 설명
Create ( string path ) : TreePath

Create path from string value, eg: top.middle.bottom

Equals ( object obj ) : bool

Check for equality. Same as checking for string representation equality.

GetHashCode ( ) : int

Hash code is calculated of string representation

IsAncestor ( TreePath other ) : bool
IsDescendant ( TreePath other ) : bool
ToString ( ) : string

Return string representation of the value

TreePath ( string path ) : System

Construct path from string value, eg: top.middle.bottom

operator ( ) : TreePath

Concatenate two paths

비공개 메소드들

메소드 설명
CheckParts ( string parts ) : void
Compare ( string left, string right, int count ) : bool
TreePath ( string value, string parts ) : System

메소드 상세

Create() 공개 정적인 메소드

Create path from string value, eg: top.middle.bottom
public static Create ( string path ) : TreePath
path string string representation
리턴 TreePath

Equals() 공개 메소드

Check for equality. Same as checking for string representation equality.
public Equals ( object obj ) : bool
obj object string or TreePath
리턴 bool

GetHashCode() 공개 메소드

Hash code is calculated of string representation
public GetHashCode ( ) : int
리턴 int

IsAncestor() 공개 메소드

public IsAncestor ( TreePath other ) : bool
other TreePath
리턴 bool

IsDescendant() 공개 메소드

public IsDescendant ( TreePath other ) : bool
other TreePath
리턴 bool

ToString() 공개 메소드

Return string representation of the value
public ToString ( ) : string
리턴 string

TreePath() 공개 메소드

Construct path from string value, eg: top.middle.bottom
public TreePath ( string path ) : System
path string string representation
리턴 System

operator() 공개 정적인 메소드

Concatenate two paths
public static operator ( ) : TreePath
리턴 TreePath

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

Empty path
public static TreePath,Revenj Empty
리턴 TreePath