protected void OnExecutionEvent(ExecutionEventType type, string message) { var e = new GusTaskExecutionEventArgs(type, message, 0); OnExecutionEvent(e); }
public List <EventSubscriptionModel> GetSubscriptions(string eventName, ExecutionEventType eventType) { return(_events.Where(f => f.EventName == eventName && f.EventType == eventType).ToList()); }
public GusTaskExecutionEventArgs(ExecutionEventType type, string message, uint executionStep) { Type = type; Message = message; ExecutionStep = executionStep; }
public void RaiseExecutionEvent(ExecutionEventType type, string message) { var e = new GusTaskExecutionEventArgs(type, message, 0); RaiseExecutionEvent(e); }