diff --git a/LightweightIocContainer/Factories/TypedFactory.cs b/LightweightIocContainer/Factories/TypedFactory.cs index 9f88148..f0dad10 100644 --- a/LightweightIocContainer/Factories/TypedFactory.cs +++ b/LightweightIocContainer/Factories/TypedFactory.cs @@ -19,10 +19,16 @@ public class TypedFactory : TypedFactoryBase, ITypedFactory< private const string CLEAR_MULTITON_INSTANCE_METHOD_NAME = "ClearMultitonInstance"; /// - /// The + /// Constructor for creating factories dynamically /// /// The current instance of the public TypedFactory(IocContainer container) => Factory = CreateFactory(container); + + /// + /// Constructor for generated factories + /// + /// + public TypedFactory(TFactory factory) => Factory = factory; /// /// The implemented abstract typed factory/> diff --git a/LightweightIocContainer/LightweightIocContainer.xml b/LightweightIocContainer/LightweightIocContainer.xml index ab26ed9..4fd07f4 100644 --- a/LightweightIocContainer/LightweightIocContainer.xml +++ b/LightweightIocContainer/LightweightIocContainer.xml @@ -384,10 +384,16 @@ - The + Constructor for creating factories dynamically The current instance of the + + + Constructor for generated factories + + + The implemented abstract typed factory/>