< Summary

Information
Class: ValidateLib.ErrorsAndWarnings.Warnings.SpecificWarnings.WrongTypeOfPropertyValueWarning
Assembly: validatelib.dll
File(s): C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\ErrorsAndWarnings\Warnings\SpecificWarnings\WrongTypeOfPropertyValueWarning.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 21
Line coverage: 0%
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
WrongTypeOfPropertyValueWarning(...)03
GetMessage(...)03

File(s)

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

#LineLine coverage
 1using System.Globalization;
 2
 3namespace ValidateLib.ErrorsAndWarnings.Warnings.SpecificWarnings
 4{
 5    public class WrongTypeOfPropertyValueWarning : Warning
 6    {
 07        string InvalidProperty { get; set; }
 08        public WrongTypeOfPropertyValueWarning(string invalidProperty)
 9        {
 010            InvalidProperty = invalidProperty;
 011        }
 12        public override string GetMessage(CultureInfo cultureInfo)
 13        {
 014            return GetMessageWithParams(
 015                nameof(WrongTypeOfPropertyValueWarning),
 016                cultureInfo,
 017                InvalidProperty
 018                );
 19        }
 20    }
 21}