C# Class Etg.Yams.Watcher.DeploymentWatcher

Inheritance: IDeploymentWatcher, IDisposable
Exibir arquivo Open project: Microsoft/Yams

Protected Properties

Property Type Description
IsUpdating bool
UpdateTimer System.Timers.Timer

Public Methods

Method Description
CheckForUpdates ( ) : System.Threading.Tasks.Task
DeploymentWatcher ( IApplicationUpdateManager deploymentUpdateManager, int updateFrequencyInSeconds ) : System
Dispose ( ) : void
Start ( ) : System.Threading.Tasks.Task
Stop ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
OnTimer ( object sender, System.Timers.ElapsedEventArgs args ) : void

Method Details

CheckForUpdates() public method

public CheckForUpdates ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

DeploymentWatcher() public method

public DeploymentWatcher ( IApplicationUpdateManager deploymentUpdateManager, int updateFrequencyInSeconds ) : System
deploymentUpdateManager IApplicationUpdateManager
updateFrequencyInSeconds int
return System

Dispose() public method

public Dispose ( ) : void
return void

Start() public method

public Start ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Stop() public method

public Stop ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Property Details

IsUpdating protected_oe property

protected bool IsUpdating
return bool

UpdateTimer protected_oe property

protected Timer,System.Timers UpdateTimer
return System.Timers.Timer