Table of Contents

Class GenerateConstants

Namespace
ToSic.Sxc.Code.Generate
Assembly
ToSic.Sxc.Code.Generate.dll

Constants used in the code generation process.

[WorkInProgressApi("still being standardized")]
public class GenerateConstants
Inheritance
GenerateConstants

Remarks

WIP v17.04

Fields

PathPlaceholderAppRoot

Placeholder for the root of the app, which will be replaced with the actual path.

It's usually used to prefix the target path of a generated file.

public const string PathPlaceholderAppRoot = "[app:root]"

Field Value

string

PathPlaceholderEdition

Placeholder for the edition of the app, which will be replaced with the actual edition.

It's usually used in the path of the generated file, to create edition-specific files.

public const string PathPlaceholderEdition = "[target:edition]"

Field Value

string

PathToAppCode

public const string PathToAppCode = "[app:root]/[target:edition]/AppCode"

Field Value

string