C# Class StarterTemplate.Core.Extensions.StringExtensions

ファイルを表示 Open project: mccalltd/MvcStarterTemplate

Public Methods

Method Description
FormatWith ( this s ) : string
HasNoValue ( this s ) : bool
HasValue ( this s ) : bool
ToWords ( this s ) : string
ValueOr ( this s, string defaultValue ) : string

Method Details

FormatWith() public static method

public static FormatWith ( this s ) : string
s this
return string

HasNoValue() public static method

public static HasNoValue ( this s ) : bool
s this
return bool

HasValue() public static method

public static HasValue ( this s ) : bool
s this
return bool

ToWords() public static method

public static ToWords ( this s ) : string
s this
return string

ValueOr() public static method

public static ValueOr ( this s, string defaultValue ) : string
s this
defaultValue string
return string