public Problem (Doap.Tests.TestResult res, string title, string desc, string detail, string testname) { this.Severity = res.Severity; this.Title = title; this.Description = desc; if (res.Error != null) this.Detail = res.Error; else this.Detail = detail; this.Test = testname; }
public Problem(Doap.Tests.TestResult res, string title, string desc, string detail, string testname) { this.Severity = res.Severity; this.Title = title; this.Description = desc; if (res.Error != null) { this.Detail = res.Error; } else { this.Detail = detail; } this.Test = testname; }