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
string objectToBuildId
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.

objectToBuildId

Type: string

The identifier of the object to be built in the context of this process. This abstract concept can model any data useful to run concrete rules that build an object with the specified identity.

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