C# Класс Common.SyncPresenter

Class that controls the presentation of the Sync Dialog, linking it to the model.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

StartWorker() публичный Метод

Starts the view's background worker on its job.
public StartWorker ( ) : void
Результат void

SyncPresenter() публичный Метод

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.
Результат Common.System