C# Class Bloom.Api.CommandAvailabilityPublisher

this is from spike, which worked, but we aren't using (yet). When searching for other parts of the spike, do a text search, as they may be commented out Commands have a status that needs to be communicated to the html client. This class does that by wiring up to events on commands and sending updated status on commands over a websocket.
Inheritance: IDisposable
Show file Open project: BloomBooks/BloomDesktop

Public Methods

Method Description
CommandAvailabilityPublisher ( IEnumerable commands ) : System
Dispose ( ) : void

Private Methods

Method Description
command_EnabledChanged ( object sender, EventArgs e ) : void

Method Details

CommandAvailabilityPublisher() public method

public CommandAvailabilityPublisher ( IEnumerable commands ) : System
commands IEnumerable
return System

Dispose() public method

public Dispose ( ) : void
return void