Interface IFileGeneratorSpecs
Specs for a file generator.
An object containing these specs - and sometimes more - is passed to the file generator.
[WorkInProgressApi("still being standardized")]
public interface IFileGeneratorSpecs
Remarks
WIP v17.04
Properties
AppId
The AppId of the app for which the file is generated.
int AppId { get; }
Property Value
ContentTypes
The content types to generate files for. If null, use all available content types in the "Default" scope + the app settings/resources.
ICollection<string>? ContentTypes { get; init; }
Property Value
DateTime
The moment the generation was performed.
DateTime DateTime { get; }
Property Value
Edition
The Edition for which we're generating the file.
string? Edition { get; }
Property Value
Namespace
Alternate namespace to use for the generated code files. If null, just use automatic / default namespace.
string? Namespace { get; init; }
Property Value
TargetPath
The target path for the generated code files. If null, use default path.
string? TargetPath { get; init; }