Decorates and routes build requests, to the underlying type-based rules.

This inversion of control method is responsible of the delegation of the concrete build handling, to the method OnBuild(Type,BuildArgument[]) implemented by the subclasses of this InjectionStrategy.

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

public object Build( 
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

ArgumentException

If a null reference (Nothing in Visual Basic) value is given for the typeToBuild argument.

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