Boo.Lang.Compiler.TypeSystem.Reflection.ReflectionNamespace.ResolveChildNamespace C# (CSharp) Метод

ResolveChildNamespace() приватный Метод

private ResolveChildNamespace ( ICollection resultingSet, string name, EntityType typesToConsider ) : bool
resultingSet ICollection
name string
typesToConsider EntityType
Результат bool
        private bool ResolveChildNamespace(ICollection<IEntity> resultingSet, string name, EntityType typesToConsider)
        {
            ReflectionNamespace childNamespace;
            if (Entities.IsFlagSet(typesToConsider, TypeSystem.EntityType.Namespace)
                && _childNamespaces.TryGetValue(name, out childNamespace))
            {
                resultingSet.Add(childNamespace);
                return true;
            }
            return false;
        }