C# Class DiscogsNet.ExtensionMethods

Show file Open project: MediaPortal/MPTagThat

Public Methods

Method Description
AddIfNotNullOrWhiteSpace ( this list, string item ) : void
AddQueryParam ( this source, string key, string value ) : StringBuilder
Join ( this source ) : string
Join ( this source, string separator ) : string
JoinFixed ( this source ) : string
TrimAndNormalizeLineEndings ( this source ) : string
ValueAsStringArray ( this token ) : string[]

Method Details

AddIfNotNullOrWhiteSpace() public static method

public static AddIfNotNullOrWhiteSpace ( this list, string item ) : void
list this
item string
return void

AddQueryParam() public static method

public static AddQueryParam ( this source, string key, string value ) : StringBuilder
source this
key string
value string
return StringBuilder

Join() public static method

public static Join ( this source ) : string
source this
return string

Join() public static method

public static Join ( this source, string separator ) : string
source this
separator string
return string

JoinFixed() public static method

public static JoinFixed ( this source ) : string
source this
return string

TrimAndNormalizeLineEndings() public static method

public static TrimAndNormalizeLineEndings ( this source ) : string
source this
return string

ValueAsStringArray() public static method

public static ValueAsStringArray ( this token ) : string[]
token this
return string[]