RazorEngineFactory<TBaseTemplateType>.CreateRazorHostInAppDomain

Creates an instance of the RazorHost in a new AppDomain. This version creates a static singleton that that is cached and you can call UnloadRazorHostInAppDomain to unload it.

public static RazorEngine<TBaseTemplateType> CreateRazorHostInAppDomain(CSharpCodeProvider codeProvider)

Parameters

codeProvider


See also:

Class RazorEngineFactory

© West Wind Technologies, 2018 • Updated: 06/07/18
Comment or report problem with topic