Property | Type | Description | |
---|---|---|---|
caseInsensitive | bool | ||
expected | string |
Method | Description | |
---|---|---|
ToString ( ) : string |
Returns the string representation of this constraint
|
Method | Description | |
---|---|---|
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 Canonicalize ( string path ) : string | ||
path | string | |
return | string |
protected IsSamePath ( string path1, string path2 ) : bool | ||
path1 | string | The first path |
path2 | string | The second path |
return | 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 |
return | bool |
protected PathConstraint ( string expected ) : System | ||
expected | string | The expected path |
return | System |