Class Razor12
Base Class for Dynamic CSharp Classes in Dnn
Class Custom.Dnn.Razor12 for Dnn ☢️
This is the Dnn specific base class. It's the very same as Custom.Hybrid.Razor12
except for the additional Dnn
and Code
Property.
Because of this, the documentation here only shows Dnn
- for all other properties go to Custom.Hybrid.Razor12
Tip
If you don't need these special properties, we strongly suggest to move to the Hybrid implementation.
Inheritance
Razor12
Inherited Members
Namespace: Custom.Dnn
Assembly: ToSic.Sxc.Dnn.Razor.dll
Syntax
[PublicApi_Stable_ForUseInYourCode]
public abstract class Razor12 : Razor12, IHasCodeLog, IHasDnn, IDynamicCode12, IDynamicCode, IHasLog
Properties
| Improve this Doc View SourceDnn
The DNN context. Has various objects to access the Dnn Page, etc.
Declaration
public IDnnContext Dnn { get; }
Property Value
Type | Description |
---|---|
IDnnContext |