ViewRenderer.CreateController<T>

Creates an instance of an MVC controller from scratch when no existing ControllerContext is present

public static T CreateController<T>(RouteData routeData)

Return Value

Controller Context for T

Parameters

routeData

Exceptions

**System.InvalidOperationException**
thrown if HttpContext not available

See also:

Class ViewRenderer

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic