private void SetStatus(MarketProcessorThreadStatus threadStatus) { status = threadStatus; Broker.Execute(EventNames.MarketProcessorThreadStatusChanged, this, new MarketProcessorThreadStatusChangedEventArgs(id, status)); }
public MarketProcessorThreadStatusChangedEventArgs(string senderID, MarketProcessorThreadStatus status) { this.senderID = senderID; this.status = status; }