示例#1
0
        private Type[] GetMatchingGenericArgumentsForOpenImplementationBasedOn(Type openCandidateServiceType)
        {
            var finder = new GenericArgumentFinder(openCandidateServiceType, this.closedGenericBaseType,
                                                   this.openGenericImplementation, this.partialOpenGenericImplementation);

            return(finder.GetConcreteTypeArgumentsForClosedImplementation());
        }
        private Type[] GetMatchingGenericArgumentsForOpenImplementationBasedOn(Type openCandidateServiceType)
        {
            var finder = new GenericArgumentFinder(openCandidateServiceType, this.closedGenericBaseType,
                this.openGenericImplementation, this.partialOpenGenericImplementation);

            return finder.GetConcreteTypeArgumentsForClosedImplementation();
        }