< Summary

Class:Azure.Data.Tables.ServiceGetPropertiesHeaders
Assembly:Azure.Data.Tables
File(s):C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\ServiceGetPropertiesHeaders.cs
Covered lines:3
Uncovered lines:1
Coverable lines:4
Total lines:23
Line coverage:75% (3 of 4)
Covered branches:0
Total branches:2
Branch coverage:0% (0 of 2)

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\ServiceGetPropertiesHeaders.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 ServiceGetPropertiesHeaders
 14    {
 15        private readonly Response _response;
 2416        public ServiceGetPropertiesHeaders(Response response)
 17        {
 2418            _response = response;
 2419        }
 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    }
 23}

Methods/Properties

.ctor(...)
get_Version()