Click or drag to resize
IContentItemCodeGenerator Interface
Provides classes for content items, such as pages or custom table items, to facilitate their usage in code. Generated classes contain properties that correspond to associated data class fields and bring the benefits of strongly typed code such as IntelliSense support. Only page types, products, custom tables and forms are supported.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax
C#
public interface IContentItemCodeGenerator

The IContentItemCodeGenerator type exposes the following members.

Methods
  NameDescription
Public methodCanGenerateItemClass
Gets a value indicating whether this instance can generate content item class for the specified data class.
Public methodCanGenerateItemProviderClass
Gets a value indicating whether this instance can generate content item provider class for the specified data class.
Public methodGenerateItemClass
Generates content item class for the specified data class and returns it.
Public methodGenerateItemProviderClass
Generates content item provider class for the specified data class and returns it.
Top
See Also