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.10.2
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: TypeThe closed generic service type.
See Also