Catel.IoC.TypeFactory.TypeMetaData.GetConstructors C# (CSharp) Метод

GetConstructors() публичный Метод

public GetConstructors ( int parameterCount, bool mustMatchExactCount ) : List
parameterCount int
mustMatchExactCount bool
Результат List
            public List<ConstructorInfo> GetConstructors(int parameterCount, bool mustMatchExactCount)
            {
                string key = string.Format("{0}_{1}", parameterCount, mustMatchExactCount);

                return _callCache.GetFromCacheOrFetch(key, () =>
                {
                    var constructors = new List<ConstructorInfo>();

                    constructors.AddRange(GetConstructors(parameterCount, mustMatchExactCount, true));
                    constructors.AddRange(GetConstructors(parameterCount, mustMatchExactCount, false));

                    return constructors;
                });
            }

Same methods

TypeFactory.TypeMetaData::GetConstructors ( ) : List
TypeFactory.TypeMetaData::GetConstructors ( int parameterCount, bool mustMatchExactCount, bool decoratedWithInjectionConstructorAttribute ) : List