Handles the request to build an object of the requested type.

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

protected virtual object OnBuild( 
Type typeToBuild
BuildArgumentCollection arguments 
)
This language is not supported or no code example is available.

Parameters

typeToBuild

Type: Type

The type of the object to be built.

arguments

Type: BuildArgumentCollection

The arguments to pass to the injection strategy build request.

Return Value

The built object.
Exception type Condition

NotImplementedException

If this operation is not concretely implemented by a subclass of InjectionStrategy.

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