Пример #1
0
 /// <summary>
 /// Creates a <see cref="CloudQueueClient"/> instance for the specified <see cref="StorageClientFactoryContext"/>.
 /// </summary>
 /// <param name="context">The <see cref="StorageClientFactoryContext"/>.</param>
 /// <returns>The <see cref="CloudQueueClient"/>.</returns>
 public virtual CloudQueueClient CreateCloudQueueClient(StorageClientFactoryContext context)
 {
     if (context == null)
     {
         throw new ArgumentNullException("context");
     }
     return(context.Account.CreateCloudQueueClient());
 }
 /// <summary>
 /// Creates a <see cref="CloudQueueClient"/> instance for the specified <see cref="CloudStorageAccount"/>.
 /// </summary>
 /// <param name="context">The <see cref="StorageClientFactoryContext"/>.</param>
 /// <returns>The <see cref="CloudQueueClient"/>.</returns>
 public virtual CloudQueueClient CreateCloudQueueClient(StorageClientFactoryContext context)
 {
     if (context == null)
     {
         throw new ArgumentNullException("context");
     }
     return context.Account.CreateCloudQueueClient();
 }