Produce() public méthode

public Produce ( string name ) : ReflectionNamespace
name string
Résultat ReflectionNamespace
        public ReflectionNamespace GetNamespace(string ns)
        {
            if (ns.Length == 0)
            {
                return(_root);
            }

            string[]            namespaceHierarchy = ns.Split('.');
            ReflectionNamespace current            = _root;

            foreach (string namespacePart in namespaceHierarchy)
            {
                current = current.Produce(namespacePart);
            }
            return(current);
        }