public WhereRegistrationPart(AllTypesRegistration allTypesPart, Func <Type, bool> typeFilter)
        {
            this.allTypesPart = allTypesPart;
            this.typeFilter   = typeFilter;

            ServiceSelector = x => x;
        }
Exemple #2
0
 public BasedOnRegistrationPart(AllTypesRegistration allTypesRegistration, Type basedOnType)
     : base(allTypesRegistration, Accepts(basedOnType))
 {
     ServiceSelector = x => basedOnType;
 }