Class Razor14
Base class for v14 Dynamic Razor files.
Will provide the ServiceKit14 on property Kit
.
This contains all the popular services used in v14, so that your code can be lighter.
Inheritance
System.Object
System.Web.WebPages.WebPageExecutingBase
System.Web.WebPages.WebPageRenderingBase
System.Web.WebPages.WebPageBase
ToSic.Sxc.Web.RazorComponentBase
Razor14
Inherited Members
Namespace: Custom.Hybrid
Assembly: ToSic.Sxc.Dnn.Razor.dll
Syntax
[PublicApi]
public abstract class Razor14 : Razor14<dynamic, ServiceKit14>, ITemplateFile, IHasCodeLog, IDnnRazor, ISetDynamicModel, IRazor14<dynamic, ServiceKit14>, IRazor, IHasDynamicCodeRoot, INeedsDynamicCodeRoot, IDynamicCode14<dynamic, ServiceKit14>, ICompatibleToCode12, IDynamicCode<dynamic, ServiceKit14>, IDynamicCode, ICreateInstance, ICompatibilityLevel, IHasLog, IDynamicCodeKit<ServiceKit14>
Remarks
Important: The property Convert
which exited on Razor12 was removed. use Kit.Convert
instead.