Пример #1
0
 protected virtual NodeAddingArgs.ActionKind OnBeforeManifestNodeAdded(IManifestNode node)
 {
     var e = new NodeAddingArgs(node);
     if (ManifestNodeAdding != null)
     {
         ManifestNodeAdding(e);
     }
     return e.Action;
 }
Пример #2
0
        protected virtual NodeAddingArgs.ActionKind OnBeforeManifestNodeAdded(IManifestNode node)
        {
            var e = new NodeAddingArgs(node);

            if (ManifestNodeAdding != null)
            {
                ManifestNodeAdding(e);
            }
            return(e.Action);
        }