Class BatchBase<TShard, TResult>
Inheritance
System.Object
    BatchBase<TShard, TResult>
      
      
      
  Implements
System.Collections.ICollection
    System.Collections.Generic.IEnumerable<BatchStep<TShard, TResult>>
    System.Collections.IEnumerable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: ArgentSea
Assembly: ArgentSea.dll
Syntax
public abstract class BatchBase<TShard, TResult> : ICollection, IEnumerable<BatchStep<TShard, TResult>>, IEnumerable where TShard : IComparableType Parameters
| Name | Description | 
|---|---|
| TShard | |
| TResult | 
Fields
| Improve this Doc View Source_processes
Declaration
protected readonly List<BatchStep<TShard, TResult>> _processesField Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<BatchStep<TShard, TResult>> | 
Properties
| Improve this Doc View SourceCount
Declaration
public int Count { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
IsSynchronized
Declaration
public bool IsSynchronized { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Item[Int32]
Declaration
public BatchStep<TShard, TResult> this[int index] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | 
Property Value
| Type | Description | 
|---|---|
| BatchStep<TShard, TResult> | 
SyncRoot
Declaration
public object SyncRoot { get; }Property Value
| Type | Description | 
|---|---|
| System.Object | 
Methods
| Improve this Doc View SourceClear()
Declaration
public void Clear()CopyTo(Array, Int32)
Declaration
public void CopyTo(Array array, int index)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Array | array | |
| System.Int32 | index | 
Execute(TShard, DbConnection, DbTransaction, String, IDataProviderServiceFactory, ILogger, CancellationToken)
Declaration
protected abstract Task<TResult> Execute(TShard shardId, DbConnection connection, DbTransaction transaction, string connectionName, IDataProviderServiceFactory services, ILogger logger, CancellationToken cancellationToken)Parameters
| Type | Name | Description | 
|---|---|---|
| TShard | shardId | |
| System.Data.Common.DbConnection | connection | |
| System.Data.Common.DbTransaction | transaction | |
| System.String | connectionName | |
| IDataProviderServiceFactory | services | |
| Microsoft.Extensions.Logging.ILogger | logger | |
| System.Threading.CancellationToken | cancellationToken | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<TResult> | 
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | 
Remove(BatchStep<TShard, TResult>)
Declaration
public bool Remove(BatchStep<TShard, TResult> item)Parameters
| Type | Name | Description | 
|---|---|---|
| BatchStep<TShard, TResult> | item | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable<BatchStep<TShard, TResult>>.GetEnumerator()
Declaration
IEnumerator<BatchStep<TShard, TResult>> IEnumerable<BatchStep<TShard, TResult>>.GetEnumerator()Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerator<BatchStep<TShard, TResult>> | 
Implements
      System.Collections.ICollection
  
  
      System.Collections.Generic.IEnumerable<T>
  
  
      System.Collections.IEnumerable