C# Class XSpect.Extension.StringUtil

显示文件 Open project: takeshik/linx

Public Methods

Method Description
EndsWithAny ( this str ) : System.Boolean
ForEachLine ( this str, String>.Func selector ) : String
Indent ( this str, Int32 columnCount ) : String
Lines ( this str ) : IEnumerable
Quote ( this str, String head, String tail ) : String
Replace ( this str, String>.IDictionary replaceTable ) : String
StartsWithAny ( this str ) : System.Boolean
Unindent ( this str, Int32 columnCount ) : String

Method Details

EndsWithAny() public static method

public static EndsWithAny ( this str ) : System.Boolean
str this
return System.Boolean

ForEachLine() public static method

public static ForEachLine ( this str, String>.Func selector ) : String
str this
selector String>.Func
return String

Indent() public static method

public static Indent ( this str, Int32 columnCount ) : String
str this
columnCount System.Int32
return String

Lines() public static method

public static Lines ( this str ) : IEnumerable
str this
return IEnumerable

Quote() public static method

public static Quote ( this str, String head, String tail ) : String
str this
head String
tail String
return String

Replace() public static method

public static Replace ( this str, String>.IDictionary replaceTable ) : String
str this
replaceTable String>.IDictionary
return String

StartsWithAny() public static method

public static StartsWithAny ( this str ) : System.Boolean
str this
return System.Boolean

Unindent() public static method

public static Unindent ( this str, Int32 columnCount ) : String
str this
columnCount System.Int32
return String