コード例 #1
0
ファイル: Rule.cs プロジェクト: luukholleman/Imperator-Fundum
 public Rule(Term.Term antecent, Term.Term consequence)
 {
     if (antecent == null) throw new ArgumentNullException("antecent");
     if (consequence == null) throw new ArgumentNullException("consequence");
     _antecent = antecent;
     _consequence = consequence;
 }
コード例 #2
0
ファイル: Or.cs プロジェクト: luukholleman/Imperator-Fundum
 public Or(Term left, Term right)
 {
     if (left == null) throw new ArgumentNullException("left");
     if (right == null) throw new ArgumentNullException("right");
     _left = left;
     _right = right;
 }
コード例 #3
0
 public Fairly(Term set)
 {
     if (set == null) throw new ArgumentNullException("set");
     _set = set;
 }