Exceptions

Creates an instance of the specified type using the specified parameters as injection values. This method will also auto-complete any additional dependencies that can be resolved from the IServiceLocator.

Parameters

Name

Description

typeToConstruct

The type to construct.

parameters

The parameters to inject.

Returns

The instantiated type using dependency injection.

Exceptions

Creates an instance of the specified type using the specified parameters as injection values. This method will also auto-complete any additional dependencies that can be resolved from the IServiceLocator.