< Summary

Information
Class: ValidateLib.ErrorsAndWarnings.Warnings.SpecificWarnings.DoubleDotOrUknownPropertyWarning
Assembly: validatelib.dll
File(s): C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\ErrorsAndWarnings\Warnings\SpecificWarnings\DoubleDotOrUknownPropertyWarning.cs
Line coverage
50%
Covered lines: 6
Uncovered lines: 6
Coverable lines: 12
Total lines: 24
Line coverage: 50%
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
DoubleDotOrUknownPropertyWarning(...)40
GetMessage(...)04

File(s)

C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\ErrorsAndWarnings\Warnings\SpecificWarnings\DoubleDotOrUknownPropertyWarning.cs

#LineLine coverage
 1using System.Globalization;
 2
 3namespace ValidateLib.ErrorsAndWarnings.Warnings.SpecificWarnings
 4{
 5    public class DoubleDotOrUknownPropertyWarning : Warning
 6    {
 17        string IRI { get; set; }
 18        string PropertyValue { get; set; }
 19        public DoubleDotOrUknownPropertyWarning(string IRI, string PropertyValue)
 10        {
 111            this.IRI = IRI;
 112            this.PropertyValue = PropertyValue;
 113        }
 14        public override string GetMessage(CultureInfo cultureInfo)
 15        {
 016            return GetMessageWithParams(
 017                nameof(DoubleDotOrUknownPropertyWarning),
 018                cultureInfo,
 019                IRI,
 020                PropertyValue
 021                );
 22        }
 23    }
 24}