gmarokov/dotnet-trx2sonar

View on GitHub
TrxToSonar/Model/Sonar/Failure.cs

Summary

Maintainability
A
0 mins
Test Coverage
using System.Xml.Serialization;

namespace TrxToSonar.Model.Sonar
{
    public class Failure
    {
        public Failure()
        {
        }

        public Failure(string message, string value)
        {
            Message = message;
            Value = value;
        }

        [XmlAttribute(AttributeName = "message")]
        public string Message { get; set; }

        [XmlText]
        public string Value { get; set; }
    }
}