Table of Contents

Class ConfigurationValidationReport

Namespace
Tlumach.Validation
Assembly
Tlumach.dll

The result of the validation of one Tlumach configuration and of the translation files that it leads to.

public sealed class ConfigurationValidationReport
Inheritance
ConfigurationValidationReport
Inherited Members

Constructors

ConfigurationValidationReport(string, bool)

Initializes a new instance of the ConfigurationValidationReport class.

public ConfigurationValidationReport(string configurationPath, bool isGeneratorInput)

Parameters

configurationPath string

The full path of the configuration file.

isGeneratorInput bool

Whether the generator processes the configuration.

Properties

ConfigurationPath

Gets the full path of the configuration file.

public string ConfigurationPath { get; }

Property Value

string

DefaultFilePath

Gets or sets the full path of the default translation file, or null when it was not found.

public string? DefaultFilePath { get; set; }

Property Value

string

ErrorCount

Gets the number of errors in Messages.

public int ErrorCount { get; }

Property Value

int

Files

Gets the translation files that were checked, the default file first.

public IList<ValidatedFile> Files { get; }

Property Value

IList<ValidatedFile>

InfoCount

Gets the number of informational messages in Messages.

public int InfoCount { get; }

Property Value

int

IsGeneratorInput

Gets a value indicating whether the generator processes the configuration (it is included as AdditionalFiles).

public bool IsGeneratorInput { get; }

Property Value

bool

Messages

Gets the messages about the configuration and its translation files.

public IList<ValidationMessage> Messages { get; }

Property Value

IList<ValidationMessage>

WarningCount

Gets the number of warnings in Messages.

public int WarningCount { get; }

Property Value

int