Exemplo n.º 1
0
        public IStatefullLoop <T> Setup(Func <T> action)
        {
            _loop.BeforeStart(() =>
            {
                _state = action();
            });

            return(this);
        }
Exemplo n.º 2
0
 public ActiveObject <T> BeforeStart(Action action)
 {
     _loop.BeforeStart(action);
     return(this);
 }