private OperationsQueue Add <T>(OperationReceive <T> operation, bool runInParallel)
        {
            DelegateOperationReceive <T> delegateOperation = new DelegateOperationReceive <T>(operation, runInParallel);

            _operations.Add(delegateOperation);
            return(this);
        }
 public OperationsQueue Then <T>(OperationReceive <T> operation)
 {
     return(Add <T>(operation, false));
 }
        public static OperationsQueue Do <T>(OperationReceive <T> operation)
        {
            OperationsQueue queue = new OperationsQueue();

            return(queue.Add <T>(operation, false));
        }