Пример #1
0
 public CriterionNode this[int index]
 {
     get { return(_nodes.OfType <CriterionNode>().ElementAt(index)); }
 }
Пример #2
0
 public AlternativeNode this[Alternative alternative]
 {
     get { return(_nodes.OfType <AlternativeNode>().SingleOrDefault(x => x.Alternative == alternative)); }
 }