PredicateContext Properties

Simple Injector

The PredicateContext type exposes the following members.

Properties

  NameDescription
Public propertyConsumer
Gets the contextual information of the consuming component that directly depends on the registered service. This property will never return null, but instead throw an exception when the service is requested directly from the container.
Public propertyHandled
Gets a value indicating whether a previous Register registration has already been applied for the given ServiceType.
Public propertyHasConsumer
Gets a value indicating whether the resolved service is injected into a consumer or is requested directly from the container.
Public propertyImplementationType
Gets the closed generic implementation type that will be created by the container.
Public propertyServiceType
Gets the closed generic service type that is to be created.
Top
See Also

Reference