Beispiel #1
0
        public ConstructorInfo Get(TypeInfo parameter)
        {
            var accounted = _specification.IsSatisfiedBy(parameter)
                                                ? MakeGenericType(parameter)
                                                : parameter;
            var result = _previous.Get(accounted);

            return(result);
        }
        public ConstructorInfo Get(TypeInfo parameter)
        {
            var accounted = _specification.IsSatisfiedBy(parameter)
                                                ? _baseType.MakeGenericType(CollectionItemTypeLocator.Default.Get(parameter))
                                                : parameter;
            var result = _previous.Get(accounted);

            return(result);
        }