Verifies the specified consumer.
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 4.10.2
Syntax
Parameters
- consumer
- Type: SimpleInjectorInjectionConsumerInfo
Contextual information about the consumer where the built dependency is injected into.
Exceptions
Exception | Condition |
---|---|
ActivationException | Thrown when the type of the target supplied with the supplied consumer cannot be used for auto wiring. |
ArgumentNullException | Thrown when the supplied argument is a null reference. |
See Also