Catel.IoC.TypeFactory.GetConstructorCache C# (CSharp) Method

GetConstructorCache() private method

Gets the constructor cache depending on whether the dependencies should be auto completed.
private GetConstructorCache ( bool autoCompleteDependencies ) : ConstructorInfo>.Dictionary
autoCompleteDependencies bool if set to true, the dependencies should be auto completed.
return ConstructorInfo>.Dictionary
        private Dictionary<ConstructorCacheKey, ConstructorInfo> GetConstructorCache(bool autoCompleteDependencies)
        {
            if (autoCompleteDependencies)
            {
                return _specificConstructorCacheWithAutoCompletion;
            }

            return _specificConstructorCacheWithoutAutoCompletion;
        }