|
RazorEngineTLanguageGetConfiguredEngine Method
|
Gets a shared
RazorEngineTLanguage instance created based on configured template path defined in the specified
settingsCategory.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax public static RazorEngine<TLanguage> GetConfiguredEngine(
string settingsCategory = null
)
Public Shared Function GetConfiguredEngine (
Optional settingsCategory As String = Nothing
) As RazorEngine(Of TLanguage)
public:
static RazorEngine<TLanguage>^ GetConfiguredEngine(
String^ settingsCategory = nullptr
)
static member GetConfiguredEngine :
?settingsCategory : string
(* Defaults:
let _settingsCategory = defaultArg settingsCategory null
*)
-> RazorEngine<'TLanguage>
GSF.Web.Model.RazorEngine.GetConfiguredEngine = function(settingsCategory);
View SourceParameters
- settingsCategory String (Optional)
- Settings category to use for template path settings; defaults to "systemSettings".
Return Value
RazorEngineTLanguageShared
RazorEngineTLanguage instance created based on configured template path.
See Also