We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I ran into the issue that you cannot delegate factories with the AsSingleton() method.
container.Register<MyConcreteClass>((c, o) => { var dependency = c.Resolve<MyDependency>(); return new MyConcreteClass(() => dependency.AFunction); }).AsSingleton();
does not work. It throws an exception an Register
Register
I believe it is more like a missing feature, But I found no reason why it is not supported. Can this be fixed?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I ran into the issue that you cannot delegate factories with the AsSingleton() method.
does not work. It throws an exception an
Register
I believe it is more like a missing feature, But I found no reason why it is not supported.
Can this be fixed?
The text was updated successfully, but these errors were encountered: