Пример #1
0
 /// <summary>
 /// Asynchronously counts the number of logs stored for a particular channel
 /// </summary>
 /// <param name="channelName">The name of the channel to count logs for</param>
 /// <returns>The number of logs found in storage</returns>
 /// <exception cref="StorageException"/>
 public Task <int> CountLogsAsync(string channelName)
 {
     return(AddTaskToQueue(() => _storageAdapter.Count(TableName, ColumnChannelName, channelName)));
 }