Table of Contents

Class GenerateFileSetSpecs

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

Specs for a file generator.

[WorkInProgressApi("still being standardized")]
public record GenerateFileSetSpecs : IEquatable<GenerateFileSetSpecs>
Inheritance
object
GenerateFileSetSpecs
Implements

Properties

AppId

The AppId of the app for which the file is generated.

public int AppId { get; init; }

Property Value

int

Configuration

ID and name of the configuration used. If null, configuration is not used.

public string? Configuration { get; init; }

Property Value

string

ContentTypes

The content types to generate files for. If null, use all available content types in the "Default" scope + the app settings/resources.

public ICollection<string>? ContentTypes { get; init; }

Property Value

ICollection<string>

DateTime

The date and time when the file set is generated.

public DateTime DateTime { get; init; }

Property Value

DateTime

Edition

The Edition for which we're generating the file.

public string? Edition { get; init; }

Property Value

string

Namespace

Alternate namespace to use for the generated code files. If null, just use automatic / default namespace.

public string? Namespace { get; init; }

Property Value

string

Prefix

Prefix for generated class and file names. If null, don't change the default naming.

public string? Prefix { get; init; }

Property Value

string

Suffix

Suffix for generated class and file names. If null, don't change the default naming.

public string? Suffix { get; init; }

Property Value

string

TargetPath

The target path for the generated code files. If null, use default path.

public string? TargetPath { get; init; }

Property Value

string