You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It aligns to the lifetime of the resolved service's dependencies. When the underlying service has a dependency with a higher lifespan, this lifetime will inherit that lifespan up to a given boundary.
Auto injection of required members.
MS.DI compatibility features for supporting keyed services:
DependencyName attribute. When a parameter is marked with this attribute, the container will pass the given dependency's name to it.
WithUniversalName() container configuration method. It sets the universal name which is a special name that allows named resolution work for any given name.
WithAdditionalDependencyNameAttribute() container configuration method. It adds an attribute type that is considered a dependency name indicator just like the DependencyName attribute.
WithAdditionalDependencyAttribute() container configuration method. It adds an attribute type that is considered a dependency indicator just like the Dependency attribute.