C# Class LyricsEngine.LyricSearch

Class emulates long process which runs in worker thread and makes synchronous user UI operations.
Inheritance: IDisposable
显示文件 Open project: MediaPortal/MPTagThat Class Usage Examples

Public Properties

Property Type Description
LyricsSites string[]

Public Methods

Method Description
Dispose ( ) : void
Run ( ) : void
ValidateSearchOutput ( string lyric, string site ) : bool
ValidateSearchOutputForAllowAllToComplete ( string lyric, string site ) : bool

Private Methods

Method Description
LyricSearch ( LyricsController lyricsController, string artist, string title, string strippedArtistName, int row, bool allowAllToComplete, bool automaticUpdate ) : System
RunSearchForSiteInThread ( string lyricsSearchSiteName ) : void
StopDueToTimeLimit ( object sender, EventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Run() public method

public Run ( ) : void
return void

ValidateSearchOutput() public method

public ValidateSearchOutput ( string lyric, string site ) : bool
lyric string
site string
return bool

ValidateSearchOutputForAllowAllToComplete() public method

public ValidateSearchOutputForAllowAllToComplete ( string lyric, string site ) : bool
lyric string
site string
return bool

Property Details

LyricsSites public_oe static_oe property

public static string[] LyricsSites
return string[]