IoC.Configuration
2.0.0
See the version list below for details.
dotnet add package IoC.Configuration --version 2.0.0
NuGet\Install-Package IoC.Configuration -Version 2.0.0
<PackageReference Include="IoC.Configuration" Version="2.0.0" />
paket add IoC.Configuration --version 2.0.0
#r "nuget: IoC.Configuration, 2.0.0"
// Install IoC.Configuration as a Cake Addin #addin nuget:?package=IoC.Configuration&version=2.0.0 // Install IoC.Configuration as a Cake Tool #tool nuget:?package=IoC.Configuration&version=2.0.0
Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io.
Source code can be found at https://github.com/artakhak/IoC.Configuration.
There is a test project IoC.Configuration.Tests at this location, demonstrating how to do file and code based configuration of dependency injection (the examples use IoC.Configuration.Autofac and IoC.Configuration.Ninject extensions available in NuGet). The test project has a sample XML configuration file for type bindings (and for providing some other functionality), which demonstrates most features of IoC.Configuration. The sample configuration file can be downloaded at https://github.com/artakhak/IoC.Configuration/blob/master/IoC.Configuration.Tests/IoCConfiguration_Overview.xml.
The XML configuration file is validated against schema file IoC.Configuration.Schema.2F7CE7FF-CB22-40B0-9691-EAC689C03A36.xsd. The schema file along with a template XML configuration file can be found in folder IoC.Cnfiguration.Content in package directory or at https://github.com/artakhak/IoC.Configuration/tree/master/IoC.Configuration/IoC.Configuration.Content.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- JetBrains.Annotations (>= 10.2.1)
- Microsoft.CodeAnalysis (>= 2.3.2)
- OROptimizer.Shared (>= 2.0.0)
- System.Runtime.Loader (>= 4.3.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on IoC.Configuration:
Package | Downloads |
---|---|
IoC.Configuration.Autofac
An Autofac extension for IoC.Configuration 2. Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io Look at http://iocconfiguration.readthedocs.io/ |
|
IoC.Configuration.Ninject
A Ninject extension for IoC.Configuration 2. Source code can be found at https://github.com/artakhak/IoC.Configuration Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io Look at http://iocconfiguration.readthedocs.io/ |
|
IoC.Configuration.Extensions
An extension for IoC.Configuration library at https://www.nuget.org/packages/IoC.Configuration/. Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.0 | 1,411 | 4/10/2022 |
2.0.2 | 947 | 3/17/2019 |
2.0.1 | 872 | 3/17/2019 |
2.0.0 | 1,505 | 2/27/2019 |
1.0.6 | 1,217 | 6/12/2018 |
1.0.5 | 1,180 | 6/11/2018 |
1.0.4 | 1,179 | 6/5/2018 |
1.0.3 | 2,375 | 5/9/2018 |
1.0.2 | 1,196 | 5/9/2018 |
1.0.1 | 1,798 | 4/18/2018 |
1.0.0 | 1,301 | 4/18/2018 |
1.0.0-beta4 | 975 | 4/4/2018 |
1.0.0-beta3 | 974 | 4/2/2018 |
1.0.0-beta2 | 1,361 | 4/1/2018 |
1.0.0-beta | 907 | 4/1/2018 |
- Changes to make the assembly attribute a non-required attribute in elements that use these attribute (the type referenced by element will be looked up in all assemblies in assemblies element).
- Added elements typeDefinitions and typeDefinition, to declare C# type references to be re-used in configuration file (can be used in both non-plugin and plugin sections).
Types in typeDefinition elements are referenced using attributes like typeRef, interfaceRef, SerializerAggregatorTypeRef, ItemTypeRef, ReturnTypeRef, DeclaringClassRef, etc.
Look at test configuration file IoCConfiguration_GenericTypesAndTypeReUse.xml and tests in folder GenericTypesAndTypeReUse.
- Support for generic types and array types in elements that reference C# types (this includes also the typeDefinition element).
Look at test configuration file IoCConfiguration_GenericTypesAndTypeReUse.xml and tests in folder GenericTypesAndTypeReUse.
- Added element more flexible autoService to replace deprecated element typeFactory. Element autoService can be used to auto-implement interface properties, as well methods with almost any signatures (as well as multiple overloads of the method).
Look at configuration file IoCConfiguration_autoService.xml and tests in folder AutoService.
- Added element collection to specify collection items in configuration file.
Look at configuration file IoCConfiguration_collection.xml and tests in folder Collection.
- Added element classMember and "_classMember:" prefix in "if" elements under autoMethod elements to reference static and non-static class members, as well as enum values in configuration file.
Look at configuration file IoCConfiguration_classMember.xml and tests in folder ClassMember.
- Added element settingValue to reference setting values in configuration file.
Look at configuration file IoCConfiguration_settingValue_ReferencingInConfiguration.xml and tests in folder SettingValue.
- Added element constructedValue to support specifying object constructor parameters as well as property values anywhere that is applicable (settings section, in collections, in auto implemented methods and properties, etc).
Look at configuration file IoCConfiguration_constructedValue.xml and tests in folder ConstructedValue.
- Added element proxyService to re-use the implementation of one service by other services as well.
Look at configuration file IoCConfiguration_proxyService.xml and tests in folder ProxyService.
- Added element valueImplementation to provide implementation as a value. Example is using a classMember, or settingValue elements to provide an
implementation for a service.
Look at configuration file IoCConfiguration_valueImplementation.xml and tests in folder ValueImplementation.
- Fixed some minor bugs.
Look at documentation at https://iocconfiguration.readthedocs.io/ or at the configuration files and tests that use these configuration files at https://github.com/artakhak/IoC.Configuration/tree/master/IoC.Configuration.Tests.
Note, IoC.Configuration V2 changes are not yet included in documentation site at https://iocconfiguration.readthedocs.io/, however will be available soon.