SDKDocGenerator.AbstractTypeProvider.GetTypesForNamespace C# (CSharp) Method

GetTypesForNamespace() public method

public GetTypesForNamespace ( string namespaceName ) : IEnumerable
namespaceName string
return IEnumerable
        virtual public IEnumerable<TypeWrapper> GetTypesForNamespace(string namespaceName) { return null; }
    }

Usage Example

Example #1
0
        public override IEnumerable <TypeWrapper> GetTypesForNamespace(string namespaceName)
        {
            HashSet <TypeWrapper> typeSet = new HashSet <TypeWrapper>();
            IList <TypeWrapper>   namespaceTypes;

            if (this._typesByNamespace.TryGetValue(namespaceName, out namespaceTypes))
            {
                typeSet.UnionWith(namespaceTypes);
            }

            if (_deferredTypesProvider != null)
            {
                typeSet.UnionWith(_deferredTypesProvider.GetTypesForNamespace(namespaceName));
            }

            return(typeSet);
        }