C# Class BatchGuy.App.Extensions.ExtensionMethods

Show file Open project: yaboy58/BatchGuy

Public Methods

Method Description
GetEpisodeByEpisodeNumber ( this value, string episodeNumber ) : BluRaySummaryInfo
IsNumeric ( this value ) : bool
NumberOfEpisodes ( this value ) : int
RemoveBackspaces ( this value ) : string
RemoveColons ( this value ) : string
RemoveDoubleQuotes ( this value ) : string
RemoveDoubleSpaces ( this value ) : string
ReplaceSpacesWithPeriods ( this value ) : string
SetEnabled ( this control, bool enabled ) : void
StringToInt ( this value ) : int
StringToNullInt ( this value ) : int?
SubtitleFileExtension ( this value ) : string

Method Details

GetEpisodeByEpisodeNumber() public static method

public static GetEpisodeByEpisodeNumber ( this value, string episodeNumber ) : BluRaySummaryInfo
value this
episodeNumber string
return BatchGuy.App.Parser.Models.BluRaySummaryInfo

IsNumeric() public static method

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

NumberOfEpisodes() public static method

public static NumberOfEpisodes ( this value ) : int
value this
return int

RemoveBackspaces() public static method

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

RemoveColons() public static method

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

RemoveDoubleQuotes() public static method

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

RemoveDoubleSpaces() public static method

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

ReplaceSpacesWithPeriods() public static method

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

SetEnabled() public static method

public static SetEnabled ( this control, bool enabled ) : void
control this
enabled bool
return void

StringToInt() public static method

public static StringToInt ( this value ) : int
value this
return int

StringToNullInt() public static method

public static StringToNullInt ( this value ) : int?
value this
return int?

SubtitleFileExtension() public static method

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