< Summary

Class:Azure.Core.ManagementPipelineBuilder
Assembly:Azure.Iot.Hub.Service
File(s):C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Shared\AutoRest\ManagementPipelineBuilder.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:22
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0

Metrics

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

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4#nullable enable
 5
 6using System;
 7using System.Collections.Generic;
 8using System.Globalization;
 9using System.Text.Json;
 10using System.Xml;
 11using Azure.Core.Pipeline;
 12
 13namespace Azure.Core
 14{
 15    internal static class ManagementPipelineBuilder
 16    {
 17        public static HttpPipeline Build(TokenCredential credential, Uri endpoint, ClientOptions options)
 18        {
 019            return HttpPipelineBuilder.Build(options, new BearerTokenAuthenticationPolicy(credential, $"{endpoint}/.defa
 20        }
 21    }
 22}

Methods/Properties

Build(...)