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