< Summary

Class:Azure.Core.ResponseWithHeaders
Assembly:Azure.AI.TextAnalytics
File(s):C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Shared\AutoRest\ResponseWithHeaders.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:20
Line coverage:0% (0 of 2)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Shared\AutoRest\ResponseWithHeaders.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4#nullable enable
 5
 6namespace Azure.Core
 7{
 8    internal static class ResponseWithHeaders
 9    {
 10        public static ResponseWithHeaders<T, THeaders> FromValue<T, THeaders>(T value, THeaders headers, Response rawRes
 11        {
 012            return new ResponseWithHeaders<T, THeaders>(value, headers, rawResponse);
 13        }
 14
 15        public static ResponseWithHeaders<THeaders> FromValue<THeaders>(THeaders headers, Response rawResponse)
 16        {
 017            return new ResponseWithHeaders<THeaders>(headers, rawResponse);
 18        }
 19    }
 20}

Methods/Properties

FromValue(...)
FromValue(...)