Example #1
0
 private static void populate(NamespaceCacheRoot ncRoot, String[] namespaces)
 {
     foreach (String ns in namespaces)
     {
         populate(ncRoot, ns);
     }
 }
Example #2
0
        private static void populate(NamespaceCacheRoot ncRoot, String ns)
        {
            String[] nsParts = ns.Split('.');

            NamespaceCacheElement ncElem = ncRoot;

            foreach (String nsPart in nsParts)
            {
                ncElem = AppendNamespaceElement(ncElem, nsPart);
            }
        }