A lightweight IOC Container that is powerful enough to do all the things you need it to do.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon G. e4fed15a2a
- update version suffix to beta3
21 hours ago
..
Properties split test project 3 years ago
IocValidator.cs - fix validation of open generic type registrations without parameter constraints 12 months ago
LightweightIocContainer.Validation.csproj - update version suffix to beta3 21 hours ago
LightweightIocContainer.Validation.xml #13: use concurrentDictionaries to allow access from multiple threads 1 year ago
README.md - update versions and readmes 5 days ago

README.md

Get started with the Lightweight IOC Container Validator

How to install

The easiest way to install the Lightweight IOC Container is by using NuGet through the .NET CLI:

> dotnet add package LightweightIocContainer.Validation --version 5.0.0

Validation

You can validate your IocContainer setup by using the IocValidator in a unit test:

[TestFixture]
public class IocValidationTest
{
    [Test]
    public void ValidateIocContainerSetup()
    {
        IocContainer container = new();
        container.Install(new Installer());

        IocValidator validator = new(container);
        validator.Validate();
    }
}

If this test is successful, everything is correctly installed and can be resolved by the IocContainer. By going through the thrown exceptions in case of a failed test you will see what is not working correctly with your current setup.