• Basics
  • Abyss
  • C# & Razor
  • JavaScript & TS
  • Web API
  • .net API

    Show / Hide Table of Contents

    Class Code12

    This is the base class for custom code (.cs) files in your Apps. By inheriting from this base class, you will automatically have the context like the App object etc. available.

    Inheritance
    System.Object
    HasLog
    DynamicCode
    DynamicCode12
    Code12
    Implements
    IWrapper<IDynamicCode>
    IDynamicCode12
    IDynamicCode
    ICreateInstance
    ICompatibilityLevel
    IHasLog
    Inherited Members
    DynamicCode12.Convert
    DynamicCode12.Resources
    DynamicCode12.Settings
    DynamicCode12.DevTools
    DynamicCode.UnwrappedContents
    DynamicCode.GetContents()
    DynamicCode.App
    DynamicCode.Data
    DynamicCode.GetService<TService>()
    DynamicCode.Content
    DynamicCode.Header
    DynamicCode.Link
    DynamicCode.Edit
    DynamicCode.CreateInstancePath
    DynamicCode.CreateInstance(String, String, String, String, Boolean)
    DynamicCode.CmsContext
    DynamicCode.AsDynamic(String, String)
    DynamicCode.AsDynamic(IEntity)
    DynamicCode.AsDynamic(Object)
    DynamicCode.AsDynamic(Object[])
    DynamicCode.AsEntity(Object)
    DynamicCode.AsList(Object)
    DynamicCode.CreateSource<T>(IDataStream)
    DynamicCode.CreateSource<T>(IDataSource, ILookUpEngine)
    DynamicCode.AsAdam(IDynamicEntity, String)
    DynamicCode.AsAdam(IEntity, String)
    HasLog.Log
    HasLog.InitLog(String, ILog, String)
    HasLog.InitLog(String, ILog, String, CodeRef)
    Namespace: Custom.Hybrid
    Assembly: ToSic.Sxc.dll
    Syntax
    [PublicApi_Stable_ForUseInYourCode]
    public abstract class Code12 : DynamicCode12, IWrapper<IDynamicCode>, IHasDynamicCodeRoot, INeedsDynamicCodeRoot, IDynamicCode12, IDynamicCode, ICreateInstance, ICompatibilityLevel, IHasLog

    Implements

    IWrapper<T>
    IDynamicCode12
    IDynamicCode
    ICreateInstance
    ICompatibilityLevel
    IHasLog
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX