示例#1
0
        public void Test(string value, FailureOptionType failureOptionType, int errorCount)
        {
            FailureOption tag = (FailureOption)_parser.Parse(string.Empty, value);

            Assert.That(tag.FailureOptionType, Is.EqualTo(failureOptionType));
            Assert.That(tag.ErrorCount, Is.EqualTo(errorCount));
        }
 public FailureOption(string value, FailureOptionType failureOptionType, bool isImplicit = false)
     : base(value, isImplicit)
 {
     FailureOptionType = failureOptionType;
 }