Exemplo n.º 1
0
 internal void OnNotifyExecutionStepChanged(ExCommsExecutionStepEntity entity)
 {
     using (ILogMethod method = Log.LogMethod(this.DYN_MODULE_NAME, "OnNotifyExecutionStepChanged"))
     {
         try
         {
             if (_cbExecutionStepChanged.HasClients)
             {
                 _cbExecutionStepChanged.InvokeCallback((i) =>
                 {
                     i.ExecutionStepChanged(entity);
                 });
             }
         }
         catch (Exception ex)
         {
             method.Exception(ex);
         }
     }
 }
Exemplo n.º 2
0
 internal void OnNotifyExecutionStepSubscribed()
 {
     using (ILogMethod method = Log.LogMethod(this.DYN_MODULE_NAME, "OnNotifyExecutionStepSubscribed"))
     {
         try
         {
             if (_cbExecutionStepSubscribed.HasClients)
             {
                 _cbExecutionStepSubscribed.InvokeCallback((i) =>
                 {
                     i.ExecutionStepSubscribed(FFMsgHandlerFactory.Current.Entities);
                 });
             }
         }
         catch (Exception ex)
         {
             method.Exception(ex);
         }
     }
 }