< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\TableCreateHeaders.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 TableCreateHeaders
 14    {
 15        private readonly Response _response;
 65616        public TableCreateHeaders(Response response)
 17        {
 65618            _response = response;
 65619        }
 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> Indicates whether the Prefer request header was honored. If the response does not include this hea
 023        public string PreferenceApplied => _response.Headers.TryGetValue("Preference-Applied", out string value) ? value
 24    }
 25}