Readonly
nameThe name/symbol to qualify the type with.
Readonly
typeThe type to qualify.
Static
forReturns the qualifier type for the given type and name. It is guaranteed to always return the same instance for the same combination of type and name.
The type to qualify.
The name/symbol to qualify the type with.
A qualified type. Allows injecting multiple implementations of the same base type under different names so consumers can decide which implementation to inject by simply changing the qualifier name.