PerRouteContainer.SetContainer(String, IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.