Exemplo n.º 1
0
 void XmlCatalog_CommandRemoved(object sender, CatalogChangedEventArgs e)
 {
     logger.Info("Removed command {0} (replacement coming? {1})",
         e.CommandName, e.IsBeingReplaced);
 }
Exemplo n.º 2
0
 void XmlCatalog_CommandAdded(object sender, CatalogChangedEventArgs e)
 {
     logger.Info("Added command {0}", e.CommandName);
 }
Exemplo n.º 3
0
        protected override void OnCatalogChanged(CatalogChangedEventArgs args)
        {
            EventHandler<CatalogChangedEventArgs> handler = CatalogChanged;

            if (handler != null)
            {
                handler(this, args);
            }
        }