From b8f2287fac10d0f3307b68d0367e442dca3e5b68 Mon Sep 17 00:00:00 2001 From: Simon G Date: Tue, 14 Dec 2021 17:31:59 +0100 Subject: [PATCH] - csproj clean up --- .../LightweightIocContainer.csproj | 53 +---- .../LightweightIocContainer.xml | 212 +++++++++++------- 2 files changed, 146 insertions(+), 119 deletions(-) diff --git a/LightweightIocContainer/LightweightIocContainer.csproj b/LightweightIocContainer/LightweightIocContainer.csproj index c8857b8..c851b70 100644 --- a/LightweightIocContainer/LightweightIocContainer.csproj +++ b/LightweightIocContainer/LightweightIocContainer.csproj @@ -7,38 +7,21 @@ A lightweight IOC Container that is powerful enough to do all the things you need it to do. https://github.com/SimonG96/LightweightIocContainer default - true - https://github.com/SimonG96/LightweightIocContainer - 3.0.0-beta3 - 3.0.0.0 - 3.0.0.0 - LICENSE.md - 3.0.0-beta3 - README.md enable - - - - LightweightIocContainer.xml - - - LightweightIocContainer.xml + 3.0.0 + beta3 - - LightweightIocContainer.xml - - - - LightweightIocContainer.xml + + true + https://github.com/SimonG96/LightweightIocContainer + LICENSE.md + README.md + true + snupkg - - - - - @@ -49,22 +32,8 @@ - - true - \ - + + - - - True - \ - - - - - true - snupkg - - diff --git a/LightweightIocContainer/LightweightIocContainer.xml b/LightweightIocContainer/LightweightIocContainer.xml index f61473c..01023d2 100644 --- a/LightweightIocContainer/LightweightIocContainer.xml +++ b/LightweightIocContainer/LightweightIocContainer.xml @@ -13,6 +13,21 @@ The given to convert An converted from the given + + + Helper for dynamic instance creation + + + + + Creates an instance of the given with the given arguments + + The given + The given arguments + The that is returned + A new instance of the given + The given type could not be created + Returns the first element of a , or a new instance of a given if the contains no elements @@ -744,11 +759,6 @@ The that is used to register an Interface and extends the with fluent options - - - A base without generic interface - - The to register either only an interface or only a @@ -950,14 +960,6 @@ An instance of the given Could not find function - - - Recursively resolve a with the given parameters for an - - The that includes the type and resolve stack - The current resolve stack - A recursively resolved instance of the given - Gets an instance of a given registered @@ -966,48 +968,114 @@ The constructor arguments The current resolve stack An instance of the given registered - The given is not registered in this - The registration for the given has an unknown - + - Gets or creates a singleton instance of a given + Tries to resolve the given with the given arguments - The given - The registration of the given - The arguments to resolve + The given arguments The current resolve stack - An existing or newly created singleton instance of the given + The registered + An instance of the given registered , an if parameters need to be resolved or an if a factory method is used to create an instance + The given is not registered + An interface was registered without an implementation or factory method + Tried resolving a multiton without scope argument + No matching constructor for the given found + Getting resolve stack failed without exception - + - Try to get an existing singleton instance for a given + Tries to resolve the given with the given arguments without generic arguments - The given - A singleton instance if existing for the given , null if not + The registered + The given arguments + The current resolve stack + An instance of the given registered , an if parameters need to be resolved or an if a factory method is used to create an instance + The given is not registered + An interface was registered without an implementation or factory method + Tried resolving a multiton without scope argument + No matching constructor for the given found + Getting resolve stack failed without exception - + - Gets or creates a multiton instance of a given + Recursively resolve a with the given parameters for an - The given - The registration of the given - The arguments to resolve - The current resolve stack - An existing or newly created multiton instance of the given - No arguments given - Scope argument not given + The that includes the type and resolve stack + A recursively resolved instance of the given - + + + Resolve the given object instance + + The given resolved object + The of the returned instance + An instance of the given resolved object + Resolve returned wrong type + + + + Resolve the given object instance without generic arguments + + The of the returned instance + + An instance of the given resolved object + Resolve returned wrong type + + Creates an instance of a given The given The registration of the given The constructor arguments - The current resolve stack A newly created instance of the given + + + Try to get an already existing instance (factory, singleton, multiton) + + The given + The given arguments + The of the instance + An already existing instance if possible, null if not + + + + Try to get an existing singleton instance for a given + + The + A singleton instance if existing for the given , null if not + + + + Try to get an existing multiton instance for a given + + The given + The given arguments + A multiton instance if existing for the given , null if not + Tried resolving a multiton without scope argument + + + + Try to get the multiton scope argument for a given + + The given + The given arguments + The multiton scope argument for the given + Tried resolving a multiton without correct scope argument + + + + Gets or creates a multiton instance of a given + + The given + The registration of the given + The arguments to resolve + An existing or newly created multiton instance of the given + No arguments given + Scope argument not given + Update the given arguments with the of the given @@ -1016,16 +1084,6 @@ The constructor arguments The argument list updated with the - - - Resolve the missing type creation arguments - - The that will be created - The existing arguments - The current resolve stack - An array of all needed constructor arguments to create the - No matching constructor was found for the given or resolvable arguments - Try to get the resolve stack for a given @@ -1059,13 +1117,6 @@ The given The for the given - - - Find the for the given - - The given - The for the given - Try to get the sorted constructors for the given @@ -1083,15 +1134,6 @@ The implementation for the given Unknown passed - - - Non generic method to get the implementation type for the given - - The given of the interface - The given - The implementation for the given - Unknown passed - Check the given resolve stack for circular dependencies @@ -1101,15 +1143,6 @@ The new resolve stack A circular dependency was detected - - - Check the given resolve stack for circular dependencies - - The given - The given resolve stack - The new resolve stack - A circular dependency was detected - Clear the multiton instances of the given from the registered multitons list @@ -1540,11 +1573,6 @@ that is invoked instead of creating an instance of this the default way - - - True if is set, false if not - - Pass a that will be invoked instead of creating an instance of this the default way @@ -1612,6 +1640,31 @@ The The current instance of this + + + An internal placeholder that is used to hold types that need to be resolved during the resolving process + + + + + The to be resolved + + + + + An internal placeholder that is used to hold factory methods for types that need to be resolved during the resolve process + + + + + The to be resolved + + + + + The + + An internal placeholder that is used during the resolving process @@ -1622,11 +1675,16 @@ An internal placeholder that is used to hold types that need to be resolved during the resolving process - + The to be resolved + + + The to be resolved + + The parameters needed to resolve the