Esempio n. 1
0
 /// <seealso cref="IApplicationCommand.Register"/>
 public void Register(OnBeforeShowContext context, DataMap dataMap)
 {
     if (StartTimerCommand.IsTrackable(dataMap))
     {
         context.RegisterCommand(this);
     }
 }
Esempio n. 2
0
 /// <seealso cref="IApplicationCommand.Register"/>
 public void Register(OnBeforeShowContext context, DataMap dataMap)
 {
     if (CanChangeStatus(dataMap))
     {
         context.RegisterCommand(this);
     }
 }
Esempio n. 3
0
 /// <seealso cref="IApplicationCommand.Register"/>
 public void Register(OnBeforeShowContext context, DataMap dataMap)
 {
     // Does this work order satisfies the
     // minimum requirements to be tracked?
     // (e.g. currently in progress, ...)
     if (IsTrackable(dataMap))
     {
         context.RegisterCommand(this);
     }
 }
Esempio n. 4
0
 /// <seealso cref="IApplicationCommand.Register"/>
 public void Register(OnBeforeShowContext context, DataMap dataMap)
 {
     context.RegisterCommand(this);
 }