Class Api14
Base class for v14 Dynamic WebAPI 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.Http.ApiController
DotNetNuke.Web.Api.DnnApiController
ToSic.Sxc.Dnn.WebApi.DnnApiControllerWithFixes<ToSic.Eav.WebApi.DummyControllerReal>
ToSic.Sxc.WebApi.SxcApiControllerBase<ToSic.Eav.WebApi.DummyControllerReal>
ToSic.Sxc.WebApi.DynamicApiController
Api14
Inherited Members
Namespace: Custom.Hybrid
Assembly: ToSic.Sxc.Dnn.WebApi.dll
Syntax
[PublicApi]
public abstract class Api14 : Api14<dynamic, ServiceKit14>, IHttpController, IDisposable, IDynamicCodeBeforeV10, IDynamicCode<dynamic, ServiceKit14>, IDynamicCodeKit<ServiceKit14>, IHasCodeLog, IDynamicCode12, IDynamicCode, ICreateInstance, ICompatibilityLevel, IHasLog, ICompatibleToCode12, IDynamicWebApi, IHasDynamicCodeRoot
Remarks
Important: The property Convert
which exited on Razor12 was removed. use Kit.Convert
instead.
Constructors
| Improve this Doc View SourceApi14()
Declaration
protected Api14()
Api14(String)
Declaration
protected Api14(string logSuffix)
Parameters
Type | Name | Description |
---|---|---|
System.String | logSuffix |