< Summary

Class:Azure.Data.Tables.TableQueryHeaders
Assembly:Azure.Data.Tables
File(s):C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\TableQueryHeaders.cs
Covered lines:4
Uncovered lines:1
Coverable lines:5
Total lines:25
Line coverage:80% (4 of 5)
Covered branches:2
Total branches:4
Branch coverage:50% (2 of 4)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%
get_Version()-0%0%
get_XMsContinuationNextTableName()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\TableQueryHeaders.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using Azure;
 9using Azure.Core;
 10
 11namespace Azure.Data.Tables
 12{
 13    internal class TableQueryHeaders
 14    {
 15        private readonly Response _response;
 5616        public TableQueryHeaders(Response response)
 17        {
 5618            _response = response;
 5619        }
 20        /// <summary> Indicates the version of the Table service used to execute the request. This header is returned fo
 021        public string Version => _response.Headers.TryGetValue("x-ms-version", out string value) ? value : null;
 22        /// <summary> This header contains the continuation token value. </summary>
 5623        public string XMsContinuationNextTableName => _response.Headers.TryGetValue("x-ms-continuation-NextTableName", o
 24    }
 25}