Example #1
0
 internal protected void FailNotify(CmdTrigger <C> trigger, Exception ex)
 {
     log.Warn(ex);
     OnFail(trigger, ex);
 }
Example #2
0
 /// <summary>
 /// Determines whether the given command may ever be used in this Context, depending
 /// on the trigger's parameters that the triggerer cannot currently change and
 /// are not already checked globally by the TriggerValidator.
 /// </summary>
 public virtual bool MayTrigger(CmdTrigger <C> trigger, BaseCommand <C> cmd, bool silent)
 {
     return(true);
 }
Example #3
0
 /// <summary>
 /// Is called when the command is triggered (case-insensitive).
 /// </summary>
 public abstract void Process(CmdTrigger <C> trigger);