Méthode | Description | |
---|---|---|
AppendPath ( this path ) : string |
Equivalent of FileSystem.Combine( [Union of path, parts] )
|
|
Capitalize ( this stringValue ) : string |
Converts the string to Title Case
|
|
CombineToPath ( this path, string root ) : string |
If the path is rooted, just returns the path. Otherwise, combines root & path
|
|
ConvertCRLFToBreaks ( this plainText ) : string |
Formats a multi-line string for display on the web
|
|
DirectoryPath ( this path ) : string | ||
EqualsIgnoreCase ( this thisString, string otherString ) : bool |
Performs a case-insensitive comparison of strings
|
|
HtmlAttributeEncode ( this unEncoded ) : string | ||
HtmlDecode ( this encoded ) : string | ||
HtmlEncode ( this unEncoded ) : string | ||
IfNotNull ( this target, Action |
||
IsEmpty ( this stringValue ) : bool | ||
IsNotEmpty ( this stringValue ) : bool | ||
IsNotEmpty ( this stringValue, Action |
||
IsValidNumber ( this number ) : bool | ||
IsValidNumber ( this number, |
||
ParentDirectory ( this path ) : string |
Retrieve the parent directory of a directory or file Shortcut to Path.GetDirectoryName(path)
|
|
PathRelativeTo ( this path, string root ) : string | ||
ReadLines ( this text ) : IEnumerable |
Reads text and returns an enumerable of strings for each line
|
|
ReadLines ( this text, Action |
Reads text and calls back for each line of text
|
|
ToBool ( this stringValue ) : bool | ||
ToDateTime ( this dateTimeValue ) : System.DateTime |
Returns a DateTime value parsed from the dateTimeValue parameter.
|
|
ToDelimitedArray ( this content ) : string[] | ||
ToDelimitedArray ( this content, char delimiter ) : string[] | ||
ToFormat ( this stringFormat ) : string | ||
ToFullPath ( this path ) : string | ||
ToGmtFormattedDate ( this date ) : string | ||
UrlDecode ( this encoded ) : string | ||
UrlEncode ( this unEncoded ) : string | ||
getPathParts ( this path ) : IList |
public static AppendPath ( this path ) : string | ||
path | this | |
Résultat | string |
public static Capitalize ( this stringValue ) : string | ||
stringValue | this | |
Résultat | string |
public static CombineToPath ( this path, string root ) : string | ||
path | this | |
root | string | |
Résultat | string |
public static ConvertCRLFToBreaks ( this plainText ) : string | ||
plainText | this | |
Résultat | string |
public static DirectoryPath ( this path ) : string | ||
path | this | |
Résultat | string |
public static EqualsIgnoreCase ( this thisString, string otherString ) : bool | ||
thisString | this | |
otherString | string | |
Résultat | bool |
public static HtmlAttributeEncode ( this unEncoded ) : string | ||
unEncoded | this | |
Résultat | string |
public static HtmlDecode ( this encoded ) : string | ||
encoded | this | |
Résultat | string |
public static HtmlEncode ( this unEncoded ) : string | ||
unEncoded | this | |
Résultat | string |
public static IfNotNull ( this target, Action |
||
target | this | |
continuation | Action |
|
Résultat | void |
public static IsEmpty ( this stringValue ) : bool | ||
stringValue | this | |
Résultat | bool |
public static IsNotEmpty ( this stringValue ) : bool | ||
stringValue | this | |
Résultat | bool |
public static IsNotEmpty ( this stringValue, Action |
||
stringValue | this | |
action | Action |
|
Résultat | void |
public static IsValidNumber ( this number ) : bool | ||
number | this | |
Résultat | bool |
public static IsValidNumber ( this number, |
||
number | this | |
culture | ||
Résultat | bool |
public static ParentDirectory ( this path ) : string | ||
path | this | |
Résultat | string |
public static PathRelativeTo ( this path, string root ) : string | ||
path | this | |
root | string | |
Résultat | string |
public static ReadLines ( this text ) : IEnumerable |
||
text | this | |
Résultat | IEnumerable |
public static ReadLines ( this text, Action |
||
text | this | |
callback | Action |
|
Résultat | void |
public static ToBool ( this stringValue ) : bool | ||
stringValue | this | |
Résultat | bool |
public static ToDateTime ( this dateTimeValue ) : System.DateTime | ||
dateTimeValue | this | A valid, parseable DateTime value |
Résultat | System.DateTime |
public static ToDelimitedArray ( this content ) : string[] | ||
content | this | |
Résultat | string[] |
public static ToDelimitedArray ( this content, char delimiter ) : string[] | ||
content | this | |
delimiter | char | |
Résultat | string[] |
public static ToFormat ( this stringFormat ) : string | ||
stringFormat | this | |
Résultat | string |
public static ToFullPath ( this path ) : string | ||
path | this | |
Résultat | string |
public static ToGmtFormattedDate ( this date ) : string | ||
date | this | |
Résultat | string |
public static UrlDecode ( this encoded ) : string | ||
encoded | this | |
Résultat | string |
public static UrlEncode ( this unEncoded ) : string | ||
unEncoded | this | |
Résultat | string |
public static getPathParts ( this path ) : IList |
||
path | this | |
Résultat | IList |