public ListQueuesPageViewModel(ICloudQueueClient queueClient, Dispatcher dispatcher) { this.queueClient = queueClient; this.dispatcher = dispatcher; this.CloudQueues = new ObservableCollection<ICloudQueue>(); }
private static async Task CreateQueueIfNotExists(ICloudQueueClient cloudQueueClient, string queueName) { var queue = cloudQueueClient.GetQueueReference(queueName); await queue.CreateIfNotExistsAsync(); }