InjectionConsumerInfoServiceType Property

Simple Injector

Note: This API is now obsolete.

Gets the service type of the consumer of the component that should be created.

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

[ObsoleteAttribute("This property has been removed. Please use ImplementationType instead. See https://simpleinjector.org/depr3.", 
	true)]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public Type ServiceType { get; }

Property Value

Type: Type
The closed generic service type.
See Also

Reference