public abstract void HandleEvent(object sender, RepositoryEventArgs e);
Beispiel #2
0
        public void FireEvent(object sender, RepositoryEventArgs args)
        {
            var eventHandlers = FindEventHandlerNodes(args.ContextNode);

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

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

            @event.FireEvent(sender, args);
        }