Jaa


PerRouteContainer.SetContainer(String, IServiceProvider) Method

Definition

Sets the root container for a given route name.

protected override void SetContainer (string routeName, IServiceProvider rootContainer);
override this.SetContainer : string * IServiceProvider -> unit
Protected Overrides Sub SetContainer (routeName As String, rootContainer As IServiceProvider)

Parameters

routeName
String

The route name.

rootContainer
IServiceProvider

The root container to set.

Remarks

Used by unit tests to insert root containers.

Applies to