< Summary

Information
Class: ValidateLib.Metadata.PropertyParsers.PropertyParserBase<T>
Assembly: validatelib.dll
File(s): C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\Metadata\PropertyParsers\PropertyParserBase.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 17
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBlocks covered Blocks not covered
PropertyParserBase(...)60

File(s)

C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\Metadata\PropertyParsers\PropertyParserBase.cs

#LineLine coverage
 1using ValidateLib.ErrorsAndWarnings.Warnings;
 2
 3namespace ValidateLib.Metadata.PropertyParsers
 4{
 5    public abstract class PropertyParserBase<T> where T : class, new()
 6    {
 17        public List<Warning> Warnings { get; set; }
 18        public T Descriptor { get; set; } = new T();
 9
 110        public PropertyParserBase(List<Warning> warnings, T? descriptor = null)
 11        {
 112            Warnings = warnings;
 113            if (descriptor != null) Descriptor = descriptor;
 114        }
 15
 16    }
 17}