Table of Contents

Interface IGeneratedFileInfo

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

Data which describes a code file which will be created or may already exist.

It's used as the foundation for IGeneratedFile but also to reference dependencies to other files created or which should be created in tandem.

[WorkInProgressApi("still being standardized")]
public interface IGeneratedFileInfo

Properties

FileName

The file name of the final code file, with extension. May not contain any slashes.

string FileName { get; }

Property Value

string

Path

The path to put the file in, relative to the root which is determined elsewhere. May not begin or end with a slash.

Example: if path is "Data" and the root is "AppCode", the file will be saved to "AppCode\Data\FileName.cs"

string Path { get; }

Property Value

string