Contains contextual information for creating an implementation type.
Inheritance Hierarchy
SimpleInjector.AdvancedApiObject
SimpleInjectorTypeFactoryContext
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
The TypeFactoryContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
Consumer |
Gets the contextual information of the consuming component that directly depends on the resolved
service. This property will return null in case the service is resolved directly from the container.
| |
ServiceType | Gets the closed generic service type that is to be created. |
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from ApiObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from ApiObject.) | |
GetType | Gets the Type of the current instance. (Inherited from ApiObject.) | |
ToString | Returns a string that represents the current object. (Inherited from ApiObject.) |
Remarks
See Also