示例#1
0
        public static void Copy(Catalogue toCatalogue, Namespace ns, ReadOnlyOption readOnlyOption, bool isReferenced, bool iterate)
        {
            INamespaceParent parent = toCatalogue.EnsureNamespaceParent(ns.Parent.FullName);

            // Clone the source namespace, so that CopyElement can modify it by calling PushAllEnabledEventsToChildren().

            CopyElement(parent, ns.Clone(ns.Parent, ns.Name), iterate);
        }