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.9.1
Syntax

[ObsoleteAttribute("Please use ImplementationType instead. See https://simpleinjector.org/depr3. Will be removed in version 5.0.", 
	true)]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public Type ServiceType { get; }

Property Value

Type: Type
The closed generic service type.
See Also

Reference