< Summary

Class:Microsoft.Extensions.Azure.AzureClientBuilder`2
Assembly:Microsoft.Extensions.Azure
File(s):C:\Git\azure-sdk-for-net\sdk\core\Microsoft.Extensions.Azure\src\Internal\AzureClientBuilder.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
get_Registration()-100%100%
get_ServiceCollection()-100%100%
.ctor(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\core\Microsoft.Extensions.Azure\src\Internal\AzureClientBuilder.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using Azure.Core.Extensions;
 5using Microsoft.Extensions.DependencyInjection;
 6
 7namespace Microsoft.Extensions.Azure
 8{
 9    internal sealed class AzureClientBuilder<TClient, TOptions>: IAzureClientBuilder<TClient, TOptions> where TOptions :
 10    {
 2411        public ClientRegistration<TClient, TOptions> Registration { get; }
 1812        public IServiceCollection ServiceCollection { get; }
 13
 5014        internal AzureClientBuilder(ClientRegistration<TClient, TOptions> clientRegistration, IServiceCollection service
 15        {
 5016            Registration = clientRegistration;
 5017            ServiceCollection = serviceCollection;
 5018        }
 19    }
 20}