Exemple #1
0
 internal SingleRegistration(Type implementationType, AsTraitImpl asTrait, LiveScopeTraitImpl liveScopeTrait, ConstructorTraitImpl constructorTrait)
 {
     _implementationType = implementationType;
     _asTrait            = asTrait;
     _liveScopeTrait     = liveScopeTrait;
     _constructorTrait   = constructorTrait;
 }
Exemple #2
0
 public SingleRegistration(Type implementationType)
 {
     _liveScopeTrait     = new LiveScopeTraitImpl();
     _asTrait            = new AsTraitImpl();
     _constructorTrait   = new ConstructorTraitImpl();
     _implementationType = implementationType;
 }