Пример #1
0
 public OrSpec(AbsSpec l, AbsSpec r)
 {
     left  = l;
     right = r;
 }
Пример #2
0
 public AbsSpec Or(AbsSpec right)
 {
     return(new OrSpec(this, right));
 }
Пример #3
0
 public AndSpec(AbsSpec l, AbsSpec r)
 {
     left  = l;
     right = r;
 }
Пример #4
0
 ///因为组合节点比较固定,可以父类依赖子类
 public AbsSpec And(AbsSpec right)
 {
     return(new AndSpec(this, right));
 }