Grace
Grace copied to clipboard
Grace is a feature rich dependency injection container library
# Description Typically you would expect that the last registration for a given service would result in that implementation type being the type that will be resolved. This occurs given...
```csharp public class Log : ILog { public Log(string _scope) { Scope = _scope; } public string Scope { get; } public ILog this[string _subScope] => new Log($"{Scope}/{_subScope}"); public string?...
Hi! I am migrating from autofac to grace ioc and ran into an issue. Suppose such a structure (simplified): ``` class AService { private readonly Func _func; public AService(Func func)...
``` public class B { public B(A a) { A = a; } public A A; } public class A { public int Value; } public static class Program {...
The fallowing is the coding I am using (note the different commented out elements to test behaviors are working properly in other ways). ``` // See https://aka.ms/new-console-template for more information...
VERY minimal example attached. Add Opentelemetry Tracing with OtlpExporter options. Runs fine. Add UserGrace(), get an exception. Seems like Grace much be touching some objects it shouldn't during bootstrapping. `fail:...
Calls to retrieve an IEnumerable of a type that is not registered call the constructor of said type.
I'm attempting to get Quartz working in a project. The startup code for Quartz makes a few calls like the following ```c# serviceProvider.GetServices(); ``` This results in call to ```c#...
Hi there, I have an issue with the System.StackOverflowException that happens in my production environment. Based on EventLog exception is thrown from Grace 7.2.1.0  Based on [https://stackoverflow.com/questions/1833106/help-with-system-stackoverflowexception/1833171#1833171](answer) from StackOverflow...
Love your lib, been using it for YEARS. I tried to use [ExportKeyedType] but I don't know the type before hand. I really need [ExportNamed]. If it doesn't exist how...