|
RazorEngineTLanguageCompile(ITemplateKey, Type) Method
|
Compiles the specified template and caches it.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax public void Compile(
ITemplateKey key,
Type modelType = null
)
Public Sub Compile (
key As ITemplateKey,
Optional modelType As Type = Nothing
)
public:
virtual void Compile(
ITemplateKey^ key,
Type^ modelType = nullptr
) sealed
abstract Compile :
key : ITemplateKey *
?modelType : Type
(* Defaults:
let _modelType = defaultArg modelType null
*)
-> unit
override Compile :
key : ITemplateKey *
?modelType : Type
(* Defaults:
let _modelType = defaultArg modelType null
*)
-> unit
function Compile(key, modelType);
View SourceParameters
- key ITemplateKey
-
- modelType Type (Optional)
-
Implements
IRazorEngineService.Compile(ITemplateKey, Type)See Also