Class ProjectConversionResult
- Namespace
- combit.Reporting.ProjectConverter
- Assembly
- combit.ListLabel31.ProjectConverter.dll
Represents the result of a single project conversion, including project identifier, output path, status, and error information if any.
public record ProjectConversionResult : IEquatable<ProjectConversionResult>
- Inheritance
-
ProjectConversionResult
- Implements
- Inherited Members
Examples
This example shows how to create a ProjectConversionResult:
var result = new ProjectConversionResult
{
ProjectIdentifier = "MyProject",
DestinationPath = "C:\\ConvertedProjects\\MyProject",
IsSuccessful = true,
ErrorMessage = null
};
Properties
DestinationPath
Gets the file system path where the converted project has been saved, if available.
public string? DestinationPath { get; init; }
Property Value
ErrorMessage
Gets the error message if the conversion failed; otherwise, null.
public string? ErrorMessage { get; init; }
Property Value
IsSuccessful
Gets a value indicating whether the project conversion was successful.
public bool IsSuccessful { get; init; }
Property Value
ProjectIdentifier
Gets the identifier of the project being converted.
public string ProjectIdentifier { get; init; }