private static void populate(NamespaceCacheRoot ncRoot, String[] namespaces) { foreach (String ns in namespaces) { populate(ncRoot, ns); } }
private static void populate(NamespaceCacheRoot ncRoot, String ns) { String[] nsParts = ns.Split('.'); NamespaceCacheElement ncElem = ncRoot; foreach (String nsPart in nsParts) { ncElem = AppendNamespaceElement(ncElem, nsPart); } }