< Summary

Class:Azure.ValueResponse`1
Assembly:Azure.Core
File(s):C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Internal\ValueResponse.cs
Covered lines:6
Uncovered lines:0
Coverable lines:6
Total lines:20
Line coverage:100% (6 of 6)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%
get_Value()-100%100%
GetRawResponse()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Internal\ValueResponse.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure
 5{
 6    internal class ValueResponse<T> : Response<T>
 7    {
 8        private readonly Response _response;
 9
 2210        public ValueResponse(Response response, T value)
 11        {
 2212            _response = response;
 2213            Value = value;
 2214        }
 15
 1016        public override T Value { get; }
 17
 1618        public override Response GetRawResponse() => _response;
 19    }
 20}