Свойство | Type | Description | |
---|---|---|---|
caseInsensitive | bool | ||
expected | string |
Méthode | Description | |
---|---|---|
ToString ( ) : string |
Returns the string representation of this constraint
|
Méthode | 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 | |
Résultat | string |
protected IsSamePath ( string path1, string path2 ) : bool | ||
path1 | string | The first path |
path2 | string | The second path |
Résultat | 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 |
Résultat | bool |
protected PathConstraint ( string expected ) : System | ||
expected | string | The expected path |
Résultat | System |