프로퍼티 | 타입 | 설명 | |
---|---|---|---|
caseInsensitive | bool | ||
expected | string |
메소드 | 설명 | |
---|---|---|
ToString ( ) : string |
Returns the string representation of this constraint
|
메소드 | 설명 | |
---|---|---|
Canonicalize ( string path ) : string |
Canonicalize the provided path
|
|
IsSamePath ( string path1, string path2 ) : bool |
Test whether two paths are the same
|
|
IsSamePathOrUnder ( string path1, string path2 ) : bool |
Test whether one path is the same as or under another path
|
|
PathConstraint ( string expected ) : System |
Construct a PathConstraint for a give expected path
|
protected IsSamePath ( string path1, string path2 ) : bool | ||
path1 | string | The first path |
path2 | string | The second path |
리턴 | bool |
protected IsSamePathOrUnder ( string path1, string path2 ) : bool | ||
path1 | string | The first path - supposed to be the parent path |
path2 | string | The second path - supposed to be the child path |
리턴 | bool |
protected PathConstraint ( string expected ) : System | ||
expected | string | The expected path |
리턴 | System |