/// <seealso cref="IApplicationCommand.Register"/> public void Register(OnBeforeShowContext context, DataMap dataMap) { if (StartTimerCommand.IsTrackable(dataMap)) { context.RegisterCommand(this); } }
/// <seealso cref="IApplicationCommand.Register"/> public void Register(OnBeforeShowContext context, DataMap dataMap) { if (CanChangeStatus(dataMap)) { context.RegisterCommand(this); } }
/// <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); } }
/// <seealso cref="IApplicationCommand.Register"/> public void Register(OnBeforeShowContext context, DataMap dataMap) { context.RegisterCommand(this); }