diff --git a/LightweightIocContainer/Factories/TypedFactory.cs b/LightweightIocContainer/Factories/TypedFactory.cs
index e4f4e0b..fe7e7f8 100644
--- a/LightweightIocContainer/Factories/TypedFactory.cs
+++ b/LightweightIocContainer/Factories/TypedFactory.cs
@@ -96,7 +96,7 @@ namespace LightweightIocContainer.Factories
generator.EmitCall(OpCodes.Call, emptyArray, null);
}
- generator.EmitCall(OpCodes.Callvirt, typeof(IResolver).GetMethod(nameof(IResolver.Resolve), new[] { typeof(object[]) })!.MakeGenericMethod(createMethod.ReturnType), null);
+ generator.EmitCall(OpCodes.Callvirt, typeof(IIocResolver).GetMethod(nameof(IIocResolver.Resolve), new[] { typeof(object[]) })!.MakeGenericMethod(createMethod.ReturnType), null);
generator.Emit(OpCodes.Castclass, createMethod.ReturnType);
generator.Emit(OpCodes.Ret);
}
diff --git a/LightweightIocContainer/Interfaces/IResolver.cs b/LightweightIocContainer/Interfaces/IIocResolver.cs
similarity index 94%
rename from LightweightIocContainer/Interfaces/IResolver.cs
rename to LightweightIocContainer/Interfaces/IIocResolver.cs
index 6bf09f7..7d0475d 100644
--- a/LightweightIocContainer/Interfaces/IResolver.cs
+++ b/LightweightIocContainer/Interfaces/IIocResolver.cs
@@ -9,7 +9,7 @@ namespace LightweightIocContainer.Interfaces
///
/// Provides methods
///
- public interface IResolver : IDisposable
+ public interface IIocResolver : IDisposable
{
///
/// Gets an instance of the given
diff --git a/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs b/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs
index eaa5746..bfde8f8 100644
--- a/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs
+++ b/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs
@@ -15,13 +15,13 @@ namespace LightweightIocContainer.Interfaces.Registrations
///
/// that is invoked instead of creating an instance of this the default way
///
- Func? FactoryMethod { get; }
+ Func? FactoryMethod { get; }
///
/// Pass a that will be invoked instead of creating an instance of this the default way
///
/// The
/// The current instance of this
- ISingleTypeRegistration WithFactoryMethod(Func factoryMethod);
+ ISingleTypeRegistration WithFactoryMethod(Func factoryMethod);
}
}
\ No newline at end of file
diff --git a/LightweightIocContainer/IocContainer.cs b/LightweightIocContainer/IocContainer.cs
index 7619dd1..0fe5c7b 100644
--- a/LightweightIocContainer/IocContainer.cs
+++ b/LightweightIocContainer/IocContainer.cs
@@ -21,7 +21,7 @@ namespace LightweightIocContainer
///
/// The main container that carries all the s and can resolve all the types you'll ever want
///
- public class IocContainer : IIocContainer, IResolver
+ public class IocContainer : IIocContainer, IIocResolver
{
private readonly RegistrationFactory _registrationFactory;
diff --git a/LightweightIocContainer/LightweightIocContainer.xml b/LightweightIocContainer/LightweightIocContainer.xml
index 92d9851..3776897 100644
--- a/LightweightIocContainer/LightweightIocContainer.xml
+++ b/LightweightIocContainer/LightweightIocContainer.xml
@@ -491,46 +491,46 @@
The given
True if the given is registered with this , false if not
-
+
- An that installs all s for its given
+ Provides methods
-
+
- The s of the that this is installing
+ Gets an instance of the given
+ The given
+ An instance of the given
-
+
- The base class for installers
+ Gets an instance of the given
+ The given
+ The constructor arguments
+ An instance of the given
-
+
- Install the needed s in the given
+ An that installs all s for its given
- The where s are added
-
+
- Provides methods
+ The s of the that this is installing
-
+
- Gets an instance of the given
+ The base class for installers
- The given
- An instance of the given
-
+
- Gets an instance of the given
+ Install the needed s in the given
- The given
- The constructor arguments
- An instance of the given
+ The where s are added
@@ -850,7 +850,7 @@
that is invoked instead of creating an instance of this the default way
-
+
Pass a that will be invoked instead of creating an instance of this the default way
@@ -1717,7 +1717,7 @@
that is invoked instead of creating an instance of this the default way
-
+
Pass a that will be invoked instead of creating an instance of this the default way
diff --git a/LightweightIocContainer/Registrations/SingleTypeRegistration.cs b/LightweightIocContainer/Registrations/SingleTypeRegistration.cs
index bcf89ab..64ea87f 100644
--- a/LightweightIocContainer/Registrations/SingleTypeRegistration.cs
+++ b/LightweightIocContainer/Registrations/SingleTypeRegistration.cs
@@ -29,14 +29,14 @@ namespace LightweightIocContainer.Registrations
///
/// that is invoked instead of creating an instance of this the default way
///
- public Func? FactoryMethod { get; private set; }
+ public Func? FactoryMethod { get; private set; }
///
/// Pass a that will be invoked instead of creating an instance of this the default way
///
/// The
/// The current instance of this
- public ISingleTypeRegistration WithFactoryMethod(Func factoryMethod)
+ public ISingleTypeRegistration WithFactoryMethod(Func factoryMethod)
{
FactoryMethod = factoryMethod;
return this;
diff --git a/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs b/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs
index 51005a7..48c399f 100644
--- a/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs
+++ b/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs
@@ -27,5 +27,5 @@ internal class InternalFactoryMethodPlaceholder : IInternalToBeResolvedPlaceh
///
/// The
///
- public Func FactoryMethod { get; }
+ public Func FactoryMethod { get; }
}
\ No newline at end of file