public OrTransaction(OrString input) { this.Transactions = new List <AndTransaction>(); foreach (var a in input.List) { Transactions.Add(new AndTransaction(a)); } }
public Predicate(OrString value) { Value = value; Subpredicates = new List <Predicate>(); FilterTargets = new List <FilterAtom>(); ProtocolTargets = new List <ProtocolAtom>(); Layer = 0; foreach (var atom in Value.List.SelectMany(and => and.List)) { StoreAtom(atom); } }
public SubPredicateAtom(OrString predicate) { Predicate = new Predicate(predicate); AtomType = PredicateAtomType.SubPredicate; }
public PredicateTransaction(OrString predicate, PredicateWriteTransaction transaction) { this.Transaction = transaction; this.Predicate = new OrTransaction(predicate); }