|
DataContextConfigureViewTModel, THub(HttpRequestMessage, Object) Method
|
Configures a view establishing user roles based on modeled table TModel and SignalR THub.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax JavaScript does not support generic types or methods.
View SourceParameters
- request HttpRequestMessage
- HTTP request message for view used to derive route ID, if any.
- viewBag Object
- Current view bag.
Type Parameters
- TModel
- Modeled database table (or view).
- THub
- SignalR hub that implements IRecordOperationsHub.
Remarks
This is normally called from controller before returning view action result.
For self-hosted web servers, route ID is passed as a command line parameter, e.g.: myview.cshtml?RouteID=ShowDeleted
See Also