|
RazorEngineTLanguageAddTemplate Method
|
Adds a given template to the template manager as dynamic template.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax public void AddTemplate(
ITemplateKey key,
ITemplateSource templateSource
)
Public Sub AddTemplate (
key As ITemplateKey,
templateSource As ITemplateSource
)
public:
virtual void AddTemplate(
ITemplateKey^ key,
ITemplateSource^ templateSource
) sealed
abstract AddTemplate :
key : ITemplateKey *
templateSource : ITemplateSource -> unit
override AddTemplate :
key : ITemplateKey *
templateSource : ITemplateSource -> unit
function AddTemplate(key, templateSource);
View SourceParameters
- key ITemplateKey
-
- templateSource ITemplateSource
-
Implements
IRazorEngineService.AddTemplate(ITemplateKey, ITemplateSource)See Also