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