public TemplateTypeContributor(Type targetType,
                                Func <Type, MembersCollector> membersCollectorFactory,
                                IProxyTemplateRegistrar registrar,
                                ConstructorContributor constructorContributor)
     : this(targetType, membersCollectorFactory)
 {
     this.registrar = registrar;
     this.constructorContributor = constructorContributor;
 }
예제 #2
0
 public PartCompositeTypeContributor(ConstructorContributor constructorContributor, IEnumerable <Type> parts)
 {
     this.parts                  = parts;
     genericInterface            = typeof(IHasPart <>);
     this.constructorContributor = constructorContributor;
 }