Property | Type | Description | |
---|---|---|---|
CheckParse | void | ||
CheckRebuild | void | ||
ValidateSegment | string |
Method | Description | |
---|---|---|
AppendPath ( string path, string segment ) : string |
Appends a segment to a path. If the segment starts with a forward slash it is assumed that the segment specifies an absolute path. |
|
AppendPath ( StringBuilder path, string segment ) : void |
Appends a segment to a path. If the segment starts with a forward slash it is assumed that the segment specifies an absolute path. |
|
Equals ( object obj ) : bool |
Compares the specified object with this UriPathSegment.
|
|
FromStrings ( IEnumerable |
Builds an enumerable of UriPathSegment objects from an enumerable of String Array.
|
|
GetHashCode ( ) : int |
Returns the haskcode for the UriPathSegment.
|
|
GetPathSegments ( string path ) : IEnumerable |
Returns the segments that make up the specified path.
|
|
ToString ( ) : string |
Returns a String representation of the segment.
|
|
UriPathSegment ( ) : System |
Initialises a new instance of the UriPathSegment class.
|
|
UriPathSegment ( |
Initialises a new instance of the UriPathSegment class with the details of the specified segment.
|
|
UriPathSegment ( string segment ) : System |
Initialises a new instance of the UriPathSegment class with the specified text.
|
|
UriPathSegment ( string text, string predicate ) : System |
Initialises a new instance of the UriPathSegment class with the specified text and predicate.
|
Method | Description | |
---|---|---|
OnParse ( ) : void |
Called when the Segment needs parsing to extract the Text and Predicate values.
|
|
OnRebuild ( ) : void |
Called when the Segment needs rebuilding using the Text and Predicate values.
|
Method | Description | |
---|---|---|
CheckParse ( ) : void | ||
CheckRebuild ( ) : void | ||
ValidateSegment ( string segment ) : string |
public static AppendPath ( string path, string segment ) : string | ||
path | string | The path to append the segment to. |
segment | string | The segment to append to the path. |
return | string |
public static AppendPath ( StringBuilder path, string segment ) : void | ||
path | StringBuilder | The path to append the segment to. |
segment | string | The segment to append to the path. |
return | void |
public static FromStrings ( IEnumerable |
||
segments | IEnumerable |
|
return | IEnumerable |
public static GetPathSegments ( string path ) : IEnumerable |
||
path | string | The path to to return the segments for. |
return | IEnumerable |
public UriPathSegment ( |
||
segment | The segment to copy the details from. | |
return | System |
public UriPathSegment ( string segment ) : System | ||
segment | string | The text and predicate for the segment. |
return | System |
public UriPathSegment ( string text, string predicate ) : System | ||
text | string | The text for the segment. |
predicate | string | The predicate for the segment. |
return | System |