コード例 #1
0
        public WhereRegistrationPart(AllTypesRegistration allTypesPart, Func <Type, bool> typeFilter)
        {
            this.allTypesPart = allTypesPart;
            this.typeFilter   = typeFilter;

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