C# Class Common.SyncPresenter

Class that controls the presentation of the Sync Dialog, linking it to the model.
Afficher le fichier Open project: Revelations/BaconApp Class Usage Examples

Méthodes publiques

Méthode Description
StartWorker ( ) : void

Starts the view's background worker on its job.

SyncPresenter ( ISyncDialog view, SyncInfo info ) : Common.System

Constructor for this presenter accepting two arguments.

Private Methods

Méthode Description
ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Called when the worker reports progress has been made.

SetWorkerJob ( ) : void

Binds the view's background worker to a specific method, depending on the type of sync requested.

Method Details

StartWorker() public méthode

Starts the view's background worker on its job.
public StartWorker ( ) : void
Résultat void

SyncPresenter() public méthode

Constructor for this presenter accepting two arguments.
public SyncPresenter ( ISyncDialog view, SyncInfo info ) : Common.System
view ISyncDialog Form that this controls presentation for.
info SyncInfo Information about the requested sync operation.
Résultat Common.System