< Summary

Class:Azure.AI.FormRecognizer.ServiceAnalyzeWithCustomModelHeaders
Assembly:Azure.AI.FormRecognizer
File(s):C:\Git\azure-sdk-for-net\sdk\formrecognizer\Azure.AI.FormRecognizer\src\Generated\ServiceAnalyzeWithCustomModelHeaders.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_OperationLocation()-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\formrecognizer\Azure.AI.FormRecognizer\src\Generated\ServiceAnalyzeWithCustomModelHeaders.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.AI.FormRecognizer
 12{
 13    internal class ServiceAnalyzeWithCustomModelHeaders
 14    {
 15        private readonly Response _response;
 10016        public ServiceAnalyzeWithCustomModelHeaders(Response response)
 17        {
 10018            _response = response;
 10019        }
 20        /// <summary> URL containing the resultId used to track the progress and obtain the result of the analyze operat
 021        public string OperationLocation => _response.Headers.TryGetValue("Operation-Location", out string value) ? value
 22    }
 23}

Methods/Properties

.ctor(...)
get_OperationLocation()