public Problem(ProblemKind kind, string type, string description) { Kind = kind; Type = type; Description = description; }
public static void Setup() { ProblemInfo = JsonConvert.DeserializeObject <ProblemInfo>(ReadToEnd(Path.Combine(TestCaseDirectory, ProblemInfoFileName))); ProblemKind = ProblemInfo.Interactive ? ProblemKind.Interactive : ProblemKind.Normal; }
public Problem(string fmt, IEnumerable <string> memberNames, params object[] values) : base(string.Format(fmt, values), memberNames) { Kind = ProblemKind.None; }
public Problem(string msg, IEnumerable <string> memberNames) : base(msg, memberNames) { Kind = ProblemKind.None; }
public Problem(string msg) : base(msg) { Kind = ProblemKind.None; }
// ctors public Problem(string fmt, params object[] values) : base(string.Format(fmt, values)) { Kind = ProblemKind.None; }