From c92d0b4dfa46b8288e25475ba2a5e24d30f57356 Mon Sep 17 00:00:00 2001 From: Simon G Date: Wed, 31 Aug 2022 13:34:17 +0200 Subject: [PATCH] - use implicit usings --- LightweightIocContainer/ActionExtension.cs | 2 -- LightweightIocContainer/Creator.cs | 2 -- LightweightIocContainer/DisposeStrategy.cs | 2 -- LightweightIocContainer/EnumerableExtension.cs | 4 ---- .../Exceptions/CircularDependencyException.cs | 3 --- .../Exceptions/ConstructorNotMatchingException.cs | 1 - .../DirectResolveWithRegisteredFactoryNotAllowed.cs | 2 -- .../Exceptions/GenericMethodNotFoundException.cs | 2 -- .../Exceptions/InvalidDisposeStrategyException.cs | 2 -- LightweightIocContainer/Exceptions/IocContainerException.cs | 3 --- .../Exceptions/MultipleRegistrationException.cs | 1 - .../Exceptions/MultitonResolveException.cs | 2 -- .../Exceptions/NoMatchingConstructorFoundException.cs | 3 --- .../Exceptions/NoPublicConstructorFoundException.cs | 2 -- .../Exceptions/TypeNotRegisteredException.cs | 1 - LightweightIocContainer/Factories/TypedFactory.cs | 2 -- LightweightIocContainer/Factories/TypedFactoryBase.cs | 3 --- LightweightIocContainer/GenericMethodCaller.cs | 1 - LightweightIocContainer/Installers/AssemblyInstaller.cs | 2 -- LightweightIocContainer/Interfaces/Factories/ITypedFactory.cs | 1 - LightweightIocContainer/Interfaces/IIocContainer.cs | 1 - LightweightIocContainer/Interfaces/IIocResolver.cs | 2 -- .../Interfaces/Installers/IAssemblyInstaller.cs | 1 - .../Interfaces/Registrations/Fluent/IOnCreate.cs | 1 - .../Interfaces/Registrations/Fluent/IWithDisposeStrategy.cs | 2 -- .../Interfaces/Registrations/Fluent/IWithParameters.cs | 1 - .../Interfaces/Registrations/IMultipleRegistration.cs | 2 -- .../Interfaces/Registrations/IMultitonRegistration.cs | 2 -- .../Interfaces/Registrations/IRegistration.cs | 2 -- .../Interfaces/Registrations/IRegistrationCollector.cs | 2 -- .../Interfaces/Registrations/ISingleTypeRegistration.cs | 2 -- .../Interfaces/Registrations/ITypedRegistration.cs | 1 - LightweightIocContainer/IocContainer.cs | 3 --- LightweightIocContainer/LightweightIocContainer.csproj | 1 + .../Registrations/MultipleMultitonRegistration.cs | 2 -- LightweightIocContainer/Registrations/MultipleRegistration.cs | 2 -- LightweightIocContainer/Registrations/MultitonRegistration.cs | 2 -- .../Registrations/OpenGenericRegistration.cs | 1 - LightweightIocContainer/Registrations/RegistrationBase.cs | 2 -- .../Registrations/RegistrationCollector.cs | 2 -- LightweightIocContainer/Registrations/RegistrationFactory.cs | 1 - .../Registrations/SingleTypeRegistration.cs | 1 - .../Registrations/TypedFactoryRegistration.cs | 1 - LightweightIocContainer/Registrations/TypedRegistration.cs | 1 - .../ResolvePlaceholders/IInternalToBeResolvedPlaceholder.cs | 2 -- .../ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs | 1 - .../ResolvePlaceholders/InternalToBeResolvedPlaceholder.cs | 2 -- LightweightIocContainer/TypeExtension.cs | 2 -- LightweightIocContainer/Validation/IocValidator.cs | 3 --- Test.LightweightIocContainer/ActionExtensionTest.cs | 1 - Test.LightweightIocContainer/AssemblyInstallerTest.cs | 2 -- Test.LightweightIocContainer/DisposeStrategyTest.cs | 1 - Test.LightweightIocContainer/EnumerableExtensionTest.cs | 1 - .../IocContainerInterfaceSegregationTest.cs | 1 - Test.LightweightIocContainer/IocContainerRecursionTest.cs | 1 - Test.LightweightIocContainer/IocValidatorTest.cs | 1 - Test.LightweightIocContainer/OnCreateTest.cs | 1 - .../Test.LightweightIocContainer.csproj | 1 + 58 files changed, 2 insertions(+), 97 deletions(-) diff --git a/LightweightIocContainer/ActionExtension.cs b/LightweightIocContainer/ActionExtension.cs index db5a6e6..0ba6a14 100644 --- a/LightweightIocContainer/ActionExtension.cs +++ b/LightweightIocContainer/ActionExtension.cs @@ -2,8 +2,6 @@ // Created: 2019-12-11 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer; internal static class ActionExtension diff --git a/LightweightIocContainer/Creator.cs b/LightweightIocContainer/Creator.cs index 89daa6c..99a2511 100644 --- a/LightweightIocContainer/Creator.cs +++ b/LightweightIocContainer/Creator.cs @@ -2,8 +2,6 @@ // Created: 2021-12-14 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer; /// diff --git a/LightweightIocContainer/DisposeStrategy.cs b/LightweightIocContainer/DisposeStrategy.cs index 91b365d..a32dcf7 100644 --- a/LightweightIocContainer/DisposeStrategy.cs +++ b/LightweightIocContainer/DisposeStrategy.cs @@ -2,8 +2,6 @@ // Created: 2021-12-15 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer; /// diff --git a/LightweightIocContainer/EnumerableExtension.cs b/LightweightIocContainer/EnumerableExtension.cs index 8906fa8..6edecd6 100644 --- a/LightweightIocContainer/EnumerableExtension.cs +++ b/LightweightIocContainer/EnumerableExtension.cs @@ -2,10 +2,6 @@ // Created: 2019-07-02 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; -using System.Linq; - namespace LightweightIocContainer; internal static class EnumerableExtension diff --git a/LightweightIocContainer/Exceptions/CircularDependencyException.cs b/LightweightIocContainer/Exceptions/CircularDependencyException.cs index f205462..02993a4 100644 --- a/LightweightIocContainer/Exceptions/CircularDependencyException.cs +++ b/LightweightIocContainer/Exceptions/CircularDependencyException.cs @@ -2,9 +2,6 @@ // Created: 2019-11-05 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; -using System.Linq; using System.Text; namespace LightweightIocContainer.Exceptions; diff --git a/LightweightIocContainer/Exceptions/ConstructorNotMatchingException.cs b/LightweightIocContainer/Exceptions/ConstructorNotMatchingException.cs index a8fde2d..bbafe40 100644 --- a/LightweightIocContainer/Exceptions/ConstructorNotMatchingException.cs +++ b/LightweightIocContainer/Exceptions/ConstructorNotMatchingException.cs @@ -2,7 +2,6 @@ // Created: 2019-11-04 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using System.Reflection; namespace LightweightIocContainer.Exceptions; diff --git a/LightweightIocContainer/Exceptions/DirectResolveWithRegisteredFactoryNotAllowed.cs b/LightweightIocContainer/Exceptions/DirectResolveWithRegisteredFactoryNotAllowed.cs index c692655..f21547f 100644 --- a/LightweightIocContainer/Exceptions/DirectResolveWithRegisteredFactoryNotAllowed.cs +++ b/LightweightIocContainer/Exceptions/DirectResolveWithRegisteredFactoryNotAllowed.cs @@ -2,8 +2,6 @@ // Created: 2022-08-31 // Copyright(c) 2022 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Exceptions; /// diff --git a/LightweightIocContainer/Exceptions/GenericMethodNotFoundException.cs b/LightweightIocContainer/Exceptions/GenericMethodNotFoundException.cs index de445ed..21e68ab 100644 --- a/LightweightIocContainer/Exceptions/GenericMethodNotFoundException.cs +++ b/LightweightIocContainer/Exceptions/GenericMethodNotFoundException.cs @@ -2,8 +2,6 @@ // Created: 2020-09-18 // Copyright(c) 2020 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Exceptions; /// diff --git a/LightweightIocContainer/Exceptions/InvalidDisposeStrategyException.cs b/LightweightIocContainer/Exceptions/InvalidDisposeStrategyException.cs index 5b01dc2..27f7e72 100644 --- a/LightweightIocContainer/Exceptions/InvalidDisposeStrategyException.cs +++ b/LightweightIocContainer/Exceptions/InvalidDisposeStrategyException.cs @@ -2,8 +2,6 @@ // Created: 2021-12-15 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Exceptions; /// diff --git a/LightweightIocContainer/Exceptions/IocContainerException.cs b/LightweightIocContainer/Exceptions/IocContainerException.cs index 8ed1d21..d944cfc 100644 --- a/LightweightIocContainer/Exceptions/IocContainerException.cs +++ b/LightweightIocContainer/Exceptions/IocContainerException.cs @@ -2,9 +2,6 @@ // Created: 2019-11-22 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; - namespace LightweightIocContainer.Exceptions; /// diff --git a/LightweightIocContainer/Exceptions/MultipleRegistrationException.cs b/LightweightIocContainer/Exceptions/MultipleRegistrationException.cs index f1bb289..7960333 100644 --- a/LightweightIocContainer/Exceptions/MultipleRegistrationException.cs +++ b/LightweightIocContainer/Exceptions/MultipleRegistrationException.cs @@ -2,7 +2,6 @@ // Created: 2019-06-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces; namespace LightweightIocContainer.Exceptions; diff --git a/LightweightIocContainer/Exceptions/MultitonResolveException.cs b/LightweightIocContainer/Exceptions/MultitonResolveException.cs index aeb514e..5556c85 100644 --- a/LightweightIocContainer/Exceptions/MultitonResolveException.cs +++ b/LightweightIocContainer/Exceptions/MultitonResolveException.cs @@ -2,8 +2,6 @@ // Created: 2019-06-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Exceptions; /// diff --git a/LightweightIocContainer/Exceptions/NoMatchingConstructorFoundException.cs b/LightweightIocContainer/Exceptions/NoMatchingConstructorFoundException.cs index c38a002..7704bfa 100644 --- a/LightweightIocContainer/Exceptions/NoMatchingConstructorFoundException.cs +++ b/LightweightIocContainer/Exceptions/NoMatchingConstructorFoundException.cs @@ -2,9 +2,6 @@ // Created: 2019-11-04 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; - namespace LightweightIocContainer.Exceptions; /// diff --git a/LightweightIocContainer/Exceptions/NoPublicConstructorFoundException.cs b/LightweightIocContainer/Exceptions/NoPublicConstructorFoundException.cs index ec32547..7baad66 100644 --- a/LightweightIocContainer/Exceptions/NoPublicConstructorFoundException.cs +++ b/LightweightIocContainer/Exceptions/NoPublicConstructorFoundException.cs @@ -2,8 +2,6 @@ // Created: 2019-11-04 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Exceptions; /// diff --git a/LightweightIocContainer/Exceptions/TypeNotRegisteredException.cs b/LightweightIocContainer/Exceptions/TypeNotRegisteredException.cs index a477d23..6a9b87d 100644 --- a/LightweightIocContainer/Exceptions/TypeNotRegisteredException.cs +++ b/LightweightIocContainer/Exceptions/TypeNotRegisteredException.cs @@ -2,7 +2,6 @@ // Created: 2019-05-21 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces; namespace LightweightIocContainer.Exceptions; diff --git a/LightweightIocContainer/Factories/TypedFactory.cs b/LightweightIocContainer/Factories/TypedFactory.cs index b89c7ba..060e305 100644 --- a/LightweightIocContainer/Factories/TypedFactory.cs +++ b/LightweightIocContainer/Factories/TypedFactory.cs @@ -2,8 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Linq; using System.Reflection; using System.Reflection.Emit; using LightweightIocContainer.Exceptions; diff --git a/LightweightIocContainer/Factories/TypedFactoryBase.cs b/LightweightIocContainer/Factories/TypedFactoryBase.cs index 64a6bea..f2ea562 100644 --- a/LightweightIocContainer/Factories/TypedFactoryBase.cs +++ b/LightweightIocContainer/Factories/TypedFactoryBase.cs @@ -2,9 +2,6 @@ // Created: 2021-12-03 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; using LightweightIocContainer.Exceptions; using LightweightIocContainer.Interfaces.Factories; diff --git a/LightweightIocContainer/GenericMethodCaller.cs b/LightweightIocContainer/GenericMethodCaller.cs index 7a42af0..dd400dd 100644 --- a/LightweightIocContainer/GenericMethodCaller.cs +++ b/LightweightIocContainer/GenericMethodCaller.cs @@ -2,7 +2,6 @@ // Created: 2020-09-18 // Copyright(c) 2020 SimonG. All Rights Reserved. -using System; using System.Reflection; using LightweightIocContainer.Exceptions; diff --git a/LightweightIocContainer/Installers/AssemblyInstaller.cs b/LightweightIocContainer/Installers/AssemblyInstaller.cs index 3e35273..be6740b 100644 --- a/LightweightIocContainer/Installers/AssemblyInstaller.cs +++ b/LightweightIocContainer/Installers/AssemblyInstaller.cs @@ -2,8 +2,6 @@ // Created: 2019-06-12 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; using System.Reflection; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Installers; diff --git a/LightweightIocContainer/Interfaces/Factories/ITypedFactory.cs b/LightweightIocContainer/Interfaces/Factories/ITypedFactory.cs index 504abc1..3c7d76a 100644 --- a/LightweightIocContainer/Interfaces/Factories/ITypedFactory.cs +++ b/LightweightIocContainer/Interfaces/Factories/ITypedFactory.cs @@ -2,7 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System.Collections.Generic; using System.Reflection; namespace LightweightIocContainer.Interfaces.Factories; diff --git a/LightweightIocContainer/Interfaces/IIocContainer.cs b/LightweightIocContainer/Interfaces/IIocContainer.cs index ead70ea..4b0ec0d 100644 --- a/LightweightIocContainer/Interfaces/IIocContainer.cs +++ b/LightweightIocContainer/Interfaces/IIocContainer.cs @@ -2,7 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces.Installers; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Interfaces/IIocResolver.cs b/LightweightIocContainer/Interfaces/IIocResolver.cs index 5705fa8..5126f10 100644 --- a/LightweightIocContainer/Interfaces/IIocResolver.cs +++ b/LightweightIocContainer/Interfaces/IIocResolver.cs @@ -2,8 +2,6 @@ // Created: 2021-12-06 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Interfaces; /// diff --git a/LightweightIocContainer/Interfaces/Installers/IAssemblyInstaller.cs b/LightweightIocContainer/Interfaces/Installers/IAssemblyInstaller.cs index d5a3630..06cfb23 100644 --- a/LightweightIocContainer/Interfaces/Installers/IAssemblyInstaller.cs +++ b/LightweightIocContainer/Interfaces/Installers/IAssemblyInstaller.cs @@ -2,7 +2,6 @@ // Created: 2019-06-12 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System.Collections.Generic; using System.Reflection; namespace LightweightIocContainer.Interfaces.Installers; diff --git a/LightweightIocContainer/Interfaces/Registrations/Fluent/IOnCreate.cs b/LightweightIocContainer/Interfaces/Registrations/Fluent/IOnCreate.cs index 5a36400..4051348 100644 --- a/LightweightIocContainer/Interfaces/Registrations/Fluent/IOnCreate.cs +++ b/LightweightIocContainer/Interfaces/Registrations/Fluent/IOnCreate.cs @@ -2,7 +2,6 @@ // Created: 2019-12-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces.Installers; namespace LightweightIocContainer.Interfaces.Registrations.Fluent; diff --git a/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithDisposeStrategy.cs b/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithDisposeStrategy.cs index 8f07ccd..70f72c8 100644 --- a/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithDisposeStrategy.cs +++ b/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithDisposeStrategy.cs @@ -2,8 +2,6 @@ // Created: 2021-12-15 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Interfaces.Registrations.Fluent; /// diff --git a/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithParameters.cs b/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithParameters.cs index 1d93dcf..950200d 100644 --- a/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithParameters.cs +++ b/LightweightIocContainer/Interfaces/Registrations/Fluent/IWithParameters.cs @@ -2,7 +2,6 @@ // Created: 2019-12-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Exceptions; using LightweightIocContainer.Interfaces.Installers; diff --git a/LightweightIocContainer/Interfaces/Registrations/IMultipleRegistration.cs b/LightweightIocContainer/Interfaces/Registrations/IMultipleRegistration.cs index de837af..afc8cf4 100644 --- a/LightweightIocContainer/Interfaces/Registrations/IMultipleRegistration.cs +++ b/LightweightIocContainer/Interfaces/Registrations/IMultipleRegistration.cs @@ -2,8 +2,6 @@ // Created: 2019-12-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System.Collections.Generic; - namespace LightweightIocContainer.Interfaces.Registrations; /// diff --git a/LightweightIocContainer/Interfaces/Registrations/IMultitonRegistration.cs b/LightweightIocContainer/Interfaces/Registrations/IMultitonRegistration.cs index 8b0a3f9..cbbbd2d 100644 --- a/LightweightIocContainer/Interfaces/Registrations/IMultitonRegistration.cs +++ b/LightweightIocContainer/Interfaces/Registrations/IMultitonRegistration.cs @@ -2,8 +2,6 @@ // Created: 2019-06-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Interfaces.Registrations; /// diff --git a/LightweightIocContainer/Interfaces/Registrations/IRegistration.cs b/LightweightIocContainer/Interfaces/Registrations/IRegistration.cs index 36a52d2..9b7c0eb 100644 --- a/LightweightIocContainer/Interfaces/Registrations/IRegistration.cs +++ b/LightweightIocContainer/Interfaces/Registrations/IRegistration.cs @@ -2,8 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Interfaces.Registrations; /// diff --git a/LightweightIocContainer/Interfaces/Registrations/IRegistrationCollector.cs b/LightweightIocContainer/Interfaces/Registrations/IRegistrationCollector.cs index f4c32d8..126a4b7 100644 --- a/LightweightIocContainer/Interfaces/Registrations/IRegistrationCollector.cs +++ b/LightweightIocContainer/Interfaces/Registrations/IRegistrationCollector.cs @@ -2,8 +2,6 @@ // Created: 2021-12-15 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Interfaces.Registrations; /// diff --git a/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs b/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs index d0dab97..ef7d707 100644 --- a/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs +++ b/LightweightIocContainer/Interfaces/Registrations/ISingleTypeRegistration.cs @@ -2,8 +2,6 @@ // Created: 2019-11-22 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.Interfaces.Registrations; /// diff --git a/LightweightIocContainer/Interfaces/Registrations/ITypedRegistration.cs b/LightweightIocContainer/Interfaces/Registrations/ITypedRegistration.cs index 6071385..7fc61a6 100644 --- a/LightweightIocContainer/Interfaces/Registrations/ITypedRegistration.cs +++ b/LightweightIocContainer/Interfaces/Registrations/ITypedRegistration.cs @@ -2,7 +2,6 @@ // Created: 2019-12-08 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces.Registrations.Fluent; namespace LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/IocContainer.cs b/LightweightIocContainer/IocContainer.cs index 2869e2f..2300b89 100644 --- a/LightweightIocContainer/IocContainer.cs +++ b/LightweightIocContainer/IocContainer.cs @@ -2,9 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using LightweightIocContainer.Exceptions; diff --git a/LightweightIocContainer/LightweightIocContainer.csproj b/LightweightIocContainer/LightweightIocContainer.csproj index f2a03be..2598fe1 100644 --- a/LightweightIocContainer/LightweightIocContainer.csproj +++ b/LightweightIocContainer/LightweightIocContainer.csproj @@ -8,6 +8,7 @@ https://github.com/SimonG96/LightweightIocContainer default enable + enable LightweightIocContainer.xml 4.0.0-beta diff --git a/LightweightIocContainer/Registrations/MultipleMultitonRegistration.cs b/LightweightIocContainer/Registrations/MultipleMultitonRegistration.cs index 903085d..4d2ddbd 100644 --- a/LightweightIocContainer/Registrations/MultipleMultitonRegistration.cs +++ b/LightweightIocContainer/Registrations/MultipleMultitonRegistration.cs @@ -2,8 +2,6 @@ // Created: 2020-11-19 // Copyright(c) 2020 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/MultipleRegistration.cs b/LightweightIocContainer/Registrations/MultipleRegistration.cs index d944799..1ad8948 100644 --- a/LightweightIocContainer/Registrations/MultipleRegistration.cs +++ b/LightweightIocContainer/Registrations/MultipleRegistration.cs @@ -2,8 +2,6 @@ // Created: 2019-12-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/MultitonRegistration.cs b/LightweightIocContainer/Registrations/MultitonRegistration.cs index 366f05a..b6d58d4 100644 --- a/LightweightIocContainer/Registrations/MultitonRegistration.cs +++ b/LightweightIocContainer/Registrations/MultitonRegistration.cs @@ -2,8 +2,6 @@ // Created: 2019-06-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Linq; using LightweightIocContainer.Exceptions; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/OpenGenericRegistration.cs b/LightweightIocContainer/Registrations/OpenGenericRegistration.cs index a89a36c..d2800ba 100644 --- a/LightweightIocContainer/Registrations/OpenGenericRegistration.cs +++ b/LightweightIocContainer/Registrations/OpenGenericRegistration.cs @@ -2,7 +2,6 @@ // Created: 2020-09-18 // Copyright(c) 2020 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Exceptions; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/RegistrationBase.cs b/LightweightIocContainer/Registrations/RegistrationBase.cs index f7c4128..23ff7b6 100644 --- a/LightweightIocContainer/Registrations/RegistrationBase.cs +++ b/LightweightIocContainer/Registrations/RegistrationBase.cs @@ -2,8 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Linq; using LightweightIocContainer.Exceptions; using LightweightIocContainer.Factories; using LightweightIocContainer.Interfaces.Factories; diff --git a/LightweightIocContainer/Registrations/RegistrationCollector.cs b/LightweightIocContainer/Registrations/RegistrationCollector.cs index 3d1fa94..1db529f 100644 --- a/LightweightIocContainer/Registrations/RegistrationCollector.cs +++ b/LightweightIocContainer/Registrations/RegistrationCollector.cs @@ -2,8 +2,6 @@ // Created: 2021-12-15 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; using LightweightIocContainer.Exceptions; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/RegistrationFactory.cs b/LightweightIocContainer/Registrations/RegistrationFactory.cs index d835dc5..25de02c 100644 --- a/LightweightIocContainer/Registrations/RegistrationFactory.cs +++ b/LightweightIocContainer/Registrations/RegistrationFactory.cs @@ -2,7 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces.Factories; using LightweightIocContainer.Interfaces.Installers; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/SingleTypeRegistration.cs b/LightweightIocContainer/Registrations/SingleTypeRegistration.cs index 9a2de27..24e9c28 100644 --- a/LightweightIocContainer/Registrations/SingleTypeRegistration.cs +++ b/LightweightIocContainer/Registrations/SingleTypeRegistration.cs @@ -2,7 +2,6 @@ // Created: 2019-11-22 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/TypedFactoryRegistration.cs b/LightweightIocContainer/Registrations/TypedFactoryRegistration.cs index 4007d2d..7ac70ec 100644 --- a/LightweightIocContainer/Registrations/TypedFactoryRegistration.cs +++ b/LightweightIocContainer/Registrations/TypedFactoryRegistration.cs @@ -2,7 +2,6 @@ // Created: 2019-05-20 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces.Factories; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/Registrations/TypedRegistration.cs b/LightweightIocContainer/Registrations/TypedRegistration.cs index a3a7fb7..4ec2fcd 100644 --- a/LightweightIocContainer/Registrations/TypedRegistration.cs +++ b/LightweightIocContainer/Registrations/TypedRegistration.cs @@ -2,7 +2,6 @@ // Created: 2019-12-14 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Installers; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/ResolvePlaceholders/IInternalToBeResolvedPlaceholder.cs b/LightweightIocContainer/ResolvePlaceholders/IInternalToBeResolvedPlaceholder.cs index 1f2646c..dd6824e 100644 --- a/LightweightIocContainer/ResolvePlaceholders/IInternalToBeResolvedPlaceholder.cs +++ b/LightweightIocContainer/ResolvePlaceholders/IInternalToBeResolvedPlaceholder.cs @@ -2,8 +2,6 @@ // Created: 2021-12-14 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer.ResolvePlaceholders; /// diff --git a/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs b/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs index 48c399f..3b6c3d5 100644 --- a/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs +++ b/LightweightIocContainer/ResolvePlaceholders/InternalFactoryMethodPlaceholder.cs @@ -2,7 +2,6 @@ // Created: 2021-12-14 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; using LightweightIocContainer.Interfaces; using LightweightIocContainer.Interfaces.Registrations; diff --git a/LightweightIocContainer/ResolvePlaceholders/InternalToBeResolvedPlaceholder.cs b/LightweightIocContainer/ResolvePlaceholders/InternalToBeResolvedPlaceholder.cs index dd9e292..d8da8ca 100644 --- a/LightweightIocContainer/ResolvePlaceholders/InternalToBeResolvedPlaceholder.cs +++ b/LightweightIocContainer/ResolvePlaceholders/InternalToBeResolvedPlaceholder.cs @@ -2,8 +2,6 @@ // Created: 2021-12-08 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; using LightweightIocContainer.Interfaces.Registrations; namespace LightweightIocContainer.ResolvePlaceholders; diff --git a/LightweightIocContainer/TypeExtension.cs b/LightweightIocContainer/TypeExtension.cs index d86dbd5..2f3e411 100644 --- a/LightweightIocContainer/TypeExtension.cs +++ b/LightweightIocContainer/TypeExtension.cs @@ -2,8 +2,6 @@ // Created: 2019-07-01 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; - namespace LightweightIocContainer; internal static class TypeExtension diff --git a/LightweightIocContainer/Validation/IocValidator.cs b/LightweightIocContainer/Validation/IocValidator.cs index 60e0a03..b32f778 100644 --- a/LightweightIocContainer/Validation/IocValidator.cs +++ b/LightweightIocContainer/Validation/IocValidator.cs @@ -2,9 +2,6 @@ // Created: 2021-12-02 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; -using System.Linq; using LightweightIocContainer.Interfaces.Registrations; using LightweightIocContainer.Interfaces.Registrations.Fluent; using Moq; diff --git a/Test.LightweightIocContainer/ActionExtensionTest.cs b/Test.LightweightIocContainer/ActionExtensionTest.cs index acc25dc..f02cc76 100644 --- a/Test.LightweightIocContainer/ActionExtensionTest.cs +++ b/Test.LightweightIocContainer/ActionExtensionTest.cs @@ -2,7 +2,6 @@ // Created: 2019-12-11 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer; using NUnit.Framework; diff --git a/Test.LightweightIocContainer/AssemblyInstallerTest.cs b/Test.LightweightIocContainer/AssemblyInstallerTest.cs index 72c9e5e..6e0370e 100644 --- a/Test.LightweightIocContainer/AssemblyInstallerTest.cs +++ b/Test.LightweightIocContainer/AssemblyInstallerTest.cs @@ -2,8 +2,6 @@ // Created: 2019-06-12 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; -using System.Collections.Generic; using System.Reflection; using JetBrains.Annotations; using LightweightIocContainer; diff --git a/Test.LightweightIocContainer/DisposeStrategyTest.cs b/Test.LightweightIocContainer/DisposeStrategyTest.cs index 9c29290..6ffdb4a 100644 --- a/Test.LightweightIocContainer/DisposeStrategyTest.cs +++ b/Test.LightweightIocContainer/DisposeStrategyTest.cs @@ -2,7 +2,6 @@ // Created: 2021-12-16 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; using JetBrains.Annotations; using LightweightIocContainer; using LightweightIocContainer.Exceptions; diff --git a/Test.LightweightIocContainer/EnumerableExtensionTest.cs b/Test.LightweightIocContainer/EnumerableExtensionTest.cs index 729f0cc..e3a4e87 100644 --- a/Test.LightweightIocContainer/EnumerableExtensionTest.cs +++ b/Test.LightweightIocContainer/EnumerableExtensionTest.cs @@ -2,7 +2,6 @@ // Created: 2019-07-03 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using JetBrains.Annotations; using LightweightIocContainer; diff --git a/Test.LightweightIocContainer/IocContainerInterfaceSegregationTest.cs b/Test.LightweightIocContainer/IocContainerInterfaceSegregationTest.cs index 044c01e..10ad2b5 100644 --- a/Test.LightweightIocContainer/IocContainerInterfaceSegregationTest.cs +++ b/Test.LightweightIocContainer/IocContainerInterfaceSegregationTest.cs @@ -2,7 +2,6 @@ // Created: 2019-12-07 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using JetBrains.Annotations; using LightweightIocContainer; using NUnit.Framework; diff --git a/Test.LightweightIocContainer/IocContainerRecursionTest.cs b/Test.LightweightIocContainer/IocContainerRecursionTest.cs index 38a8d0e..77fca7d 100644 --- a/Test.LightweightIocContainer/IocContainerRecursionTest.cs +++ b/Test.LightweightIocContainer/IocContainerRecursionTest.cs @@ -2,7 +2,6 @@ // Created: 2019-11-05 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using JetBrains.Annotations; using LightweightIocContainer; using LightweightIocContainer.Exceptions; diff --git a/Test.LightweightIocContainer/IocValidatorTest.cs b/Test.LightweightIocContainer/IocValidatorTest.cs index 3dab9f5..aa89013 100644 --- a/Test.LightweightIocContainer/IocValidatorTest.cs +++ b/Test.LightweightIocContainer/IocValidatorTest.cs @@ -2,7 +2,6 @@ // Created: 2021-12-03 // Copyright(c) 2021 SimonG. All Rights Reserved. -using System; using JetBrains.Annotations; using LightweightIocContainer; using LightweightIocContainer.Exceptions; diff --git a/Test.LightweightIocContainer/OnCreateTest.cs b/Test.LightweightIocContainer/OnCreateTest.cs index 8237d55..b16d80c 100644 --- a/Test.LightweightIocContainer/OnCreateTest.cs +++ b/Test.LightweightIocContainer/OnCreateTest.cs @@ -2,7 +2,6 @@ // Created: 2019-12-10 // Copyright(c) 2019 SimonG. All Rights Reserved. -using System; using LightweightIocContainer; using LightweightIocContainer.Interfaces.Registrations; using LightweightIocContainer.Registrations; diff --git a/Test.LightweightIocContainer/Test.LightweightIocContainer.csproj b/Test.LightweightIocContainer/Test.LightweightIocContainer.csproj index 9062876..da2052a 100644 --- a/Test.LightweightIocContainer/Test.LightweightIocContainer.csproj +++ b/Test.LightweightIocContainer/Test.LightweightIocContainer.csproj @@ -5,6 +5,7 @@ false SimonG default + enable 4.0.0-beta