diff --git a/LightweightIocContainer/Interfaces/IIocContainer.cs b/LightweightIocContainer/Interfaces/IIocContainer.cs index a3162e3..f239ef1 100644 --- a/LightweightIocContainer/Interfaces/IIocContainer.cs +++ b/LightweightIocContainer/Interfaces/IIocContainer.cs @@ -28,7 +28,7 @@ namespace LightweightIocContainer.Interfaces /// The Type that implements the interface /// The for this /// The created - IRegistrationBase Register(Lifestyle lifestyle = Lifestyle.Transient) where TImplementation : TInterface; + IDefaultRegistration Register(Lifestyle lifestyle = Lifestyle.Transient) where TImplementation : TInterface; /// /// Register a without an interface diff --git a/LightweightIocContainer/IocContainer.cs b/LightweightIocContainer/IocContainer.cs index edd6d88..14f01af 100644 --- a/LightweightIocContainer/IocContainer.cs +++ b/LightweightIocContainer/IocContainer.cs @@ -59,9 +59,9 @@ namespace LightweightIocContainer /// The Type that implements the interface /// The for this /// The created - public IRegistrationBase Register(Lifestyle lifestyle = Lifestyle.Transient) where TImplementation : TInterface + public IDefaultRegistration Register(Lifestyle lifestyle = Lifestyle.Transient) where TImplementation : TInterface { - IRegistrationBase registration = _registrationFactory.Register(lifestyle); + IDefaultRegistration registration = _registrationFactory.Register(lifestyle); Register(registration); return registration; diff --git a/LightweightIocContainer/LightweightIocContainer.xml b/LightweightIocContainer/LightweightIocContainer.xml index 613bbb7..b82fb77 100644 --- a/LightweightIocContainer/LightweightIocContainer.xml +++ b/LightweightIocContainer/LightweightIocContainer.xml @@ -772,8 +772,8 @@ The Interface to register The Type that implements the interface - The for this - A new created with the given parameters + The for this + A new created with the given parameters diff --git a/LightweightIocContainer/Registrations/RegistrationFactory.cs b/LightweightIocContainer/Registrations/RegistrationFactory.cs index 8249da8..5292dcb 100644 --- a/LightweightIocContainer/Registrations/RegistrationFactory.cs +++ b/LightweightIocContainer/Registrations/RegistrationFactory.cs @@ -27,8 +27,8 @@ namespace LightweightIocContainer.Registrations /// /// The Interface to register /// The Type that implements the interface - /// The for this - /// A new created with the given parameters + /// The for this + /// A new created with the given parameters public IDefaultRegistration Register(Lifestyle lifestyle) where TImplementation : TInterface { return new DefaultRegistration(typeof(TInterface), typeof(TImplementation), lifestyle);