C# Class LyricsEngine.LyricSearch

Class emulates long process which runs in worker thread and makes synchronous user UI operations.
Inheritance: IDisposable
Afficher le fichier Open project: MediaPortal/MPTagThat Class Usage Examples

Méthodes publiques

Свойство Type Description
LyricsSites string[]

Méthodes publiques

Méthode Description
Dispose ( ) : void
Run ( ) : void
ValidateSearchOutput ( string lyric, string site ) : bool
ValidateSearchOutputForAllowAllToComplete ( string lyric, string site ) : bool

Private Methods

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void

ValidateSearchOutput() public méthode

public ValidateSearchOutput ( string lyric, string site ) : bool
lyric string
site string
Résultat bool

ValidateSearchOutputForAllowAllToComplete() public méthode

public ValidateSearchOutputForAllowAllToComplete ( string lyric, string site ) : bool
lyric string
site string
Résultat bool

Property Details

LyricsSites public_oe static_oe property

public static string[] LyricsSites
Résultat string[]