Creates a new QuantumInjector.

Namespace: Keystone.Mystere.Quantum
Assembly: Keystone.Mystere.Quantum (in Keystone.Mystere.Quantum.dll)

public QuantumInjector( 
QuantumController quantum
string injectionStrategyVariableName = "Injector" 
)
This language is not supported or no code example is available.

Parameters

quantum

Type: QuantumController

The quantum controller to access the Mystere configuration.

injectionStrategyVariableName

Type: string

The name of the quantum variable to use as source of the injection strategy qualified type.

Exception type Condition

ArgumentException

If quantum controller is null. or If injection strategy quantum variable name is null or empty.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono