public ModuleBasedOnRegistration(IModule sourceModule, BasedOnRegistrationBase basedOn)
     : base(basedOn.RegistrationElement)
 {
     this.sourceModule = sourceModule;
     this.basedOn = basedOn;
     basedOn.Module = sourceModule;
 }
Exemple #2
0
 public ModuleBasedOnRegistration(IModule sourceModule, BasedOnRegistrationBase basedOn)
     : base(basedOn.RegistrationElement)
 {
     this.sourceModule = sourceModule;
     this.basedOn      = basedOn;
 }
Exemple #3
0
 public TypesBasedOnRegistration(IEnumerable <ITypeElement> types, BasedOnRegistrationBase basedOn)
     : base(basedOn.RegistrationElement)
 {
     this.basedOn = basedOn;
     this.types   = types.ToArray();
 }
 public TypesBasedOnRegistration(IEnumerable<ITypeElement> types, BasedOnRegistrationBase basedOn)
     : base(basedOn.RegistrationElement)
 {
     this.basedOn = basedOn;
     this.types = types.ToArray();
 }