internal protected void FailNotify(CmdTrigger <C> trigger, Exception ex) { log.Warn(ex); OnFail(trigger, ex); }
/// <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); }
/// <summary> /// Is called when the command is triggered (case-insensitive). /// </summary> public abstract void Process(CmdTrigger <C> trigger);