DependencyMetadataTServiceGetInstance Method

Simple Injector
Produces an instance.

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

public TService GetInstance()

Return Value

Type: TService
An instance. Will never return null.
Exceptions

ExceptionCondition
ActivationExceptionWhen the instance could not be retrieved or is null.
See Also

Reference