Esempio n. 1
0
        protected virtual void InvokeCommandRegisteredEvent(string sectionName, IGitBitchCommand command)
        {
            var handler = CommandRegisteredEvent;

            if (handler != null)
            {
                handler(this, new CommandRegisteredEventArgs(sectionName, command));
            }
        }
 public CommandRegisteredEventArgs(string sectionName, IGitBitchCommand command)
 {
     _sectionName = sectionName;
     _command     = command;
 }