Ejemplo n.º 1
0
        /*
         foreach (CmdData data in cmdArgs) 
                {
                    Console.WriteLine(data.Entity);
                    foreach (string key in data.Properties.Keys) 
                    {
                        Console.WriteLine("->" + key + " - " + data.Properties[key]);
                    }
                }
         */

        static void ActionPerformed(object sender, ActionPerformedEventArgs e)
        {

            ChangeConsoleColor(e.actionType);
            Console.WriteLine(e.message);
            ResetConsoleColor();
        }
Ejemplo n.º 2
0
        protected virtual void OnActionPerformed(ActionPerformedEventArgs e)
        {
            EventHandler<ActionPerformedEventArgs> handler = ActionPerformed;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 3
0
 protected override void OnActionPerformed(ActionPerformedEventArgs e)
 {
     base.OnActionPerformed(e);
 }