C# Class Common.SyncPresenter

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

Public Methods

Method 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

Method 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 method

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

SyncPresenter() public method

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.
return Common.System