Click or drag to resize
IContentItemCodeFileGeneratorGenerateFiles Method (IEnumerableDataClassInfo, String)
Creates classes for the specified data class and saves them to files within the specified folder using naming conventions. Code files are created only for supported data classes, i.e. page types, products, custom tables and forms.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 12.0.0
Syntax
C#
void GenerateFiles(
	IEnumerable<DataClassInfo> dataClasses,
	string baseFolderPath
)

Parameters

dataClasses
Type: System.Collections.GenericIEnumerableDataClassInfo
Data class for which code files should be created.
baseFolderPath
Type: SystemString
A path to the folder where code files should be created using naming conventions.
Exceptions
ExceptionCondition
ArgumentNullExceptionData class or folder path is null.
See Also