コード例 #1
0
 public virtual Task EnqueueAsync(object item, MessageEnqueueSettings settings = null)
 {
     return(this.EnqueueManyAsync(new object[]
     {
         item
     }, settings));
 }
コード例 #2
0
 public virtual void Enqueue(object item, MessageEnqueueSettings settings = null)
 {
     this.EnqueueMany(new object[]
     {
         item
     }, settings);
 }
コード例 #3
0
 public abstract Task <int> EnqueueManyAsync <TItem>(IEnumerable <TItem> items, MessageEnqueueSettings settings = null);
コード例 #4
0
 public virtual int EnqueueMany <T>(IEnumerable <T> items, MessageEnqueueSettings settings = null)
 {
     return(TaskUtility.ExecuteTask(() => this.EnqueueManyAsync(items, settings)));
 }