コード例 #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
ファイル: BatchBase.cs プロジェクト: idkook/shared
 public bool Remove(BatchStep <TResult> item) => _processes.Remove(item);
コード例 #4
0
ファイル: DatabaseBatch.cs プロジェクト: idkook/shared
 /// <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);
 }