示例#1
0
 /// <summary>
 /// Loads an implementation of BatchStep into the collection.
 /// </summary>
 /// <param name="step">A BatchStep object.</param>
 /// <returns>A reference to the collection, for a fluent API.</returns>
 public ShardSetBatch Add(BatchStep <object> step)
 {
     _processes.Add(step);
     return(this);
 }
示例#2
0
 /// <summary>
 /// Loads an implementation of BatchStep into the collection.
 /// </summary>
 /// <param name="step">A BatchStep object.</param>
 /// <returns>A reference to the collection, for a fluent API.</returns>
 public ShardBatch <TResult> Add(BatchStep <TResult> step)
 {
     _processes.Add(step);
     return(this);
 }
示例#3
0
 public bool Remove(BatchStep <TResult> item) => _processes.Remove(item);
示例#4
0
 /// <summary>
 /// Loads an implementation of BatchStep into the collection.
 /// </summary>
 /// <param name="step">A BatchStep object.</param>
 /// <returns>A reference to the collection, for a fluent API.</returns>
 public DatabaseBatch <TResult> Add(BatchStep <TResult> step)
 {
     _processes.Add(step);
     return(this);
 }