Often you may need context - like the Dnn
or App
objects. We made this easy by defining a base class you can inherit from, called Custom.Hybrid.Code14
(previously ToSic.Sxc.Dnn.DynamicCode
). If you use that as your base-class, all existing context is automatically attached, allowing you to access variables like App
.