TypeFactoryContext Class

Simple Injector
Contains contextual information for creating an implementation type.
Inheritance Hierarchy

SystemObject
  SimpleInjectorTypeFactoryContext

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 4.0.0
Syntax

public sealed class TypeFactoryContext

The TypeFactoryContext type exposes the following members.

Properties

  NameDescription
Public propertyConsumer
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.
Public propertyServiceType
Gets the closed generic service type that is to be created.
Top
Remarks

Please see the Register method for more information.
See Also

Reference