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