示例#1
0
        /// <summary>
        /// Describe all existing shardspaces.
        /// </summary>
        /// <returns>A list of all <see cref="ShardSpace"></see>'s.</returns>
        public async Task <List <ShardSpace> > GetShardSpacesAsync()
        {
            InfluxDbApiResponse response = await _influxDbClient.GetShardSpaces(NoErrorHandlers);

            return(response.ReadAs <List <ShardSpace> >());
        }
 public async Task <InfluxDbApiResponse> GetShardSpaces(IEnumerable <ApiResponseErrorHandlingDelegate> errorHandlers)
 {
     return(await _influxDbClient.GetShardSpaces(errorHandlers));
 }