Ejemplo n.º 1
0
 public abstract void HandleEvent(object sender, RepositoryEventArgs e);
Ejemplo n.º 2
0
        public void FireEvent(object sender, RepositoryEventArgs args)
        {
            var eventHandlers = FindEventHandlerNodes(args.ContextNode);

            base.Fire <RepositoryEventHandler, RepositoryEventArgs>(eventHandlers, sender, args);
        }
Ejemplo n.º 3
0
 private void InvokeEventHandler(RepositoryEventHandler eventHandler, object sender, RepositoryEventArgs args, out bool cancel)
 {
     eventHandler.HandleEvent(sender, args);
     cancel = false;
 }
Ejemplo n.º 4
0
        //========================================================================================

        private void RouteEvent(RepositoryEvent @event, object sender, Node contextNode)
        {
            var args = new RepositoryEventArgs(contextNode);

            @event.FireEvent(sender, args);
        }