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
Added contains function in DITranquillity:
container.contains(type: Protocol.self) // contains(type: "Protocol") container.contains(component: Component.self) // contains(component: "Component") container.contains(module: Module.self) // contains(module: "Module")
The text was updated successfully, but these errors were encountered:
Only for 3.0.0 version - because this version it's new coil and add extensions.
Sorry, something went wrong.
container.contains(Protocol.self) container.contains(framework: Framework.self)
I check Autofac and find good idea. registration with conditional. https://autofac.readthedocs.io/en/latest/register/registration.html#conditional-registration
And your can write: register(...) .when(register: Type.self) .when(noRegister: Type.self) .when(condition: { ... })
Need it is better to work out the idea, but it's very good idea, and it can be useful.
No branches or pull requests
Added contains function in DITranquillity:
container.contains(type: Protocol.self) // contains(type: "Protocol")
container.contains(component: Component.self) // contains(component: "Component")
container.contains(module: Module.self) // contains(module: "Module")
The text was updated successfully, but these errors were encountered: