Struct ProjectConversionOptions
- Namespace
- combit.Reporting.ProjectConverter
- Assembly
- combit.ListLabel31.ProjectConverter.dll
Represents options for configuring project conversion operations.
public struct ProjectConversionOptions
- Inherited Members
Constructors
ProjectConversionOptions()
Represents options for configuring project conversion operations.
public ProjectConversionOptions()
Properties
ConvertReferencedProjects
Gets or sets a value indicating whether referenced projects should be converted along with the main project.
public bool ConvertReferencedProjects { readonly get; set; }
Property Value
- bool
trueif referenced projects should be converted; otherwise,false. The default istrue.
DestinationDirectory
Gets or sets the destination directory where converted projects will be saved.
public string? DestinationDirectory { readonly get; set; }
Property Value
- string
The path to the destination directory, or
nullif not specified.
FallbackDirectory
Gets the fallback directory used when no destination directory is specified.
public readonly string FallbackDirectory { get; }
Property Value
- string
The path to the fallback directory. Defaults to a "ConvertedProjects" subdirectory in the application's base directory.
FlattenFolderStructure
Gets or sets a value indicating whether paths to referenced projects should be flattened to a single directory structure or maintain their original folder structure.
Only relevant when ConvertReferencedProjects is true and a DestinationDirectory is specified.
public bool FlattenFolderStructure { readonly get; set; }
Property Value
- bool
trueif the folder structure should be flattened; otherwise,false. The default isfalse.
ImportData
Gets or sets the user data identifier for repository import operations.
public string ImportData { readonly get; set; }
Property Value
- string
The user data string. The default is "ProjectConverter".
OutputExistsBehavior
Gets or sets the behavior when output files already exist.
public OutputExistsBehavior OutputExistsBehavior { readonly get; set; }
Property Value
- OutputExistsBehavior
An OutputExistsBehavior value that determines how to handle existing output files. The default is Overwrite.
ThreadCount
Gets or sets the number of threads to use for the conversion operation.
public int ThreadCount { readonly get; set; }
Property Value
- int
The number of threads to use. The default is 1.
WriteIndented
Gets or sets a value indicating whether the output should be formatted with indentation.
public bool WriteIndented { readonly get; set; }
Property Value
- bool
trueif output should be indented for readability; otherwise,false. The default isfalse.