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
configurationPathstringThe full path of the configuration file.
isGeneratorInputboolWhether the generator processes the configuration.
Properties
ConfigurationPath
Gets the full path of the configuration file.
public string ConfigurationPath { get; }
Property Value
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
ErrorCount
Gets the number of errors in Messages.
public int ErrorCount { get; }
Property Value
Files
Gets the translation files that were checked, the default file first.
public IList<ValidatedFile> Files { get; }
Property Value
InfoCount
Gets the number of informational messages in Messages.
public int InfoCount { get; }
Property Value
IsGeneratorInput
Gets a value indicating whether the generator processes the configuration (it is included as AdditionalFiles).
public bool IsGeneratorInput { get; }
Property Value
Messages
Gets the messages about the configuration and its translation files.
public IList<ValidationMessage> Messages { get; }
Property Value
WarningCount
Gets the number of warnings in Messages.
public int WarningCount { get; }