Grace
Grace copied to clipboard
Grace is a feature rich dependency injection container library

So I was trying to do a conditional check(to see if a class was exported) for null off of container.Locate() but it was creating a new instance of that class...
Dear Johnson! Can you tell me if I can export the generic interface given the constraints? Example: ```csharp _.Export(typeof(ConfProvider)).As(typeof(IObservable).WithConstaints.Lifestyle.Singleton() ``` I want to bind `IObservable where IMsg` to `ConfProvider`
Like: ```c# Container = new DependencyInjectionContainer(_ => { _.Behaviors.ConstructorSelection = ConstructorSelectionMethod.Dynamic; // < -- Like that }); ``` But for property. Locate type with **[Import]** attribute in sub container doesn't...
Hello. Is there any documentation to be found in regards to configuring child containers and how this can be used using WebAPI? In my case, I would like the resolve...
Does Grace automatically dispose not only services implementing `IDisposable` but also the newly introduced (.NET Standard 2.1 / .NET Core 3.0) async version named `IAsyncDisposable`?
Is it possible to disable evaluation of delegates? Test case: ```cs public class DiTest { public DiTest(Func test) { } } ... var a1 = new { test = new...
I'm trying to use the decorator feature with ctor param by using Castle Dynamic Proxy for generating dynamic proxy types as decorators for using them as interceptors. When I Export...
I expected constructor two to be used with parameter of type ClassB but grace injects a newly created ClassA in the first constructor instead. ```csharp class ClassA { } class...
Just added 2 tests to replicate the problem.