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

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

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

            @event.FireEvent(sender, args);
        }