private void RouteCancelEvent(RepositoryCancelEvent @event, object sender, Node contextNode, CancellableNodeEventArgs originalArgs) { var args = new RepositoryCancelEventArgs(contextNode); @event.FireEvent(sender, args); originalArgs.Cancel = args.Cancel; originalArgs.CancelMessage = args.CancelMessage; }