private OperationsQueue Add <T>(OperationSend <T> operation, bool runInParallel) { DelegateOperationSend <T> delegateOperationSend = new DelegateOperationSend <T>(operation, runInParallel); _operations.Add(delegateOperationSend); return(this); }
public OperationsQueue Then <T>(OperationSend <T> operation) { return(Add <T>(operation, false)); }
public static OperationsQueue Do <T>(OperationSend <T> operation) { OperationsQueue queue = new OperationsQueue(); return(queue.Add(operation, false)); }