WebHostCreateWebController Method (String) | |
Create a SOWI standard web controller with HTTP context
Namespace:
SIC.Test.Helper
Assembly:
SIC.Test.Helper (in SIC.Test.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public static WebController Create<WebController>(
string pAction
)
where WebController : new()
Public Shared Function Create(Of WebController As New) (
pAction As String
) As WebController
Parameters
- pAction
- Type: SystemString
Action respectively View name e.g. Index
Type Parameters
- WebController
- Web controller class based on SOWI Web Controller
Return Value
Type:
WebControllerWeb controller with HTTP context
Remarks
Puts route data values (controller and action) and routes configuration.
ControllerContext object and Url object is available.
See Also