C# Class Bender.Extensions.StringExtensions

Datei anzeigen Open project: mikeobrien/Bender

Public Methods

Method Description
GetArticle ( this value ) : string
IgnoreCase ( this comparison ) : bool
IsEmpty ( this value ) : bool
IsNullOrEmpty ( this value ) : bool
RemoveNewLines ( this value ) : string
ToCamelCase ( this value ) : string
ToComparer ( this comparison ) : IComparer
ToFormat ( this value ) : string
ToInitialCaps ( this value ) : string
ToLower ( this value ) : string
ToSeparatedCase ( this value, bool lower, string seperator ) : string
ToStream ( this value, Encoding encoding = null ) : Stream
Truncate ( this value, int length ) : string
WriteToStream ( this value, Stream stream, Encoding encoding = null ) : void

Method Details

GetArticle() public static method

public static GetArticle ( this value ) : string
value this
return string

IgnoreCase() public static method

public static IgnoreCase ( this comparison ) : bool
comparison this
return bool

IsEmpty() public static method

public static IsEmpty ( this value ) : bool
value this
return bool

IsNullOrEmpty() public static method

public static IsNullOrEmpty ( this value ) : bool
value this
return bool

RemoveNewLines() public static method

public static RemoveNewLines ( this value ) : string
value this
return string

ToCamelCase() public static method

public static ToCamelCase ( this value ) : string
value this
return string

ToComparer() public static method

public static ToComparer ( this comparison ) : IComparer
comparison this
return IComparer

ToFormat() public static method

public static ToFormat ( this value ) : string
value this
return string

ToInitialCaps() public static method

public static ToInitialCaps ( this value ) : string
value this
return string

ToLower() public static method

public static ToLower ( this value ) : string
value this
return string

ToSeparatedCase() public static method

public static ToSeparatedCase ( this value, bool lower, string seperator ) : string
value this
lower bool
seperator string
return string

ToStream() public static method

public static ToStream ( this value, Encoding encoding = null ) : Stream
value this
encoding System.Text.Encoding
return Stream

Truncate() public static method

public static Truncate ( this value, int length ) : string
value this
length int
return string

WriteToStream() public static method

public static WriteToStream ( this value, Stream stream, Encoding encoding = null ) : void
value this
stream Stream
encoding System.Text.Encoding
return void