C# Class ProjToolV2.BackgroundExecutorWithStatus

Class responsible to execute csom calls in a background thread without impacting UI
Afficher le fichier Open project: OfficeDev/Project-Samples Class Usage Examples

Méthodes publiques

Méthode Description
BackgroundExecutorWithStatus ( TextBox control, string textToAnimate ) : System
Cancel ( ) : void
ExecuteWorker ( System.Action funcToRun ) : void

Private Methods

Méthode Description
actionWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
actionWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
actionWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

BackgroundExecutorWithStatus() public méthode

public BackgroundExecutorWithStatus ( TextBox control, string textToAnimate ) : System
control System.Windows.Forms.TextBox
textToAnimate string
Résultat System

Cancel() public méthode

public Cancel ( ) : void
Résultat void

ExecuteWorker() public méthode

public ExecuteWorker ( System.Action funcToRun ) : void
funcToRun System.Action
Résultat void