|
RazorEngineTLanguageRun Method
|
Runs the given cached template.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax public void Run(
ITemplateKey key,
TextWriter writer,
Type modelType = null,
Object model = null,
DynamicViewBag viewBag = null
)
Public Sub Run (
key As ITemplateKey,
writer As TextWriter,
Optional modelType As Type = Nothing,
Optional model As Object = Nothing,
Optional viewBag As DynamicViewBag = Nothing
)
public:
virtual void Run(
ITemplateKey^ key,
TextWriter^ writer,
Type^ modelType = nullptr,
Object^ model = nullptr,
DynamicViewBag^ viewBag = nullptr
) sealed
abstract Run :
key : ITemplateKey *
writer : TextWriter *
?modelType : Type *
?model : Object *
?viewBag : DynamicViewBag
(* Defaults:
let _modelType = defaultArg modelType null
let _model = defaultArg model null
let _viewBag = defaultArg viewBag null
*)
-> unit
override Run :
key : ITemplateKey *
writer : TextWriter *
?modelType : Type *
?model : Object *
?viewBag : DynamicViewBag
(* Defaults:
let _modelType = defaultArg modelType null
let _model = defaultArg model null
let _viewBag = defaultArg viewBag null
*)
-> unit
function Run(key, writer, modelType, model, viewBag);
View SourceParameters
- key ITemplateKey
-
- writer TextWriter
-
- modelType Type (Optional)
-
- model Object (Optional)
-
- viewBag DynamicViewBag (Optional)
-
Implements
IRazorEngineService.Run(ITemplateKey, TextWriter, Type, Object, DynamicViewBag)See Also