public ListQueuesPageViewModel(ICloudQueueClient queueClient, Dispatcher dispatcher)
        {
            this.queueClient = queueClient;
            this.dispatcher = dispatcher;

            this.CloudQueues = new ObservableCollection<ICloudQueue>();
        }
示例#2
0
 private static async Task CreateQueueIfNotExists(ICloudQueueClient cloudQueueClient, string queueName)
 {
     var queue = cloudQueueClient.GetQueueReference(queueName);
     await queue.CreateIfNotExistsAsync();
 }