예제 #1
0
        public IDoLoop <TScope> In(Func <IReadonlyScope, IEnumerable <TEnumerable> > statement)
        {
            _enumerableGetter = statement;

            Do = new DoLoop <TScope>(_scope);

            return(Do);
        }
예제 #2
0
 public WhileStatement(TScope scope, System.Predicate <Contracts.IReadonlyScope> predicate)
 {
     _scope     = scope;
     _predicate = predicate;
     Do         = new DoLoop <TScope>(scope);
 }