< Summary

Class:Microsoft.Extensions.Azure.AzureClientsGlobalOptions
Assembly:Microsoft.Extensions.Azure
File(s):C:\Git\azure-sdk-for-net\sdk\core\Microsoft.Extensions.Azure\src\Internal\AzureClientsGlobalOptions.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:17
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_CredentialFactory()-100%100%
get_ConfigureOptionDelegates()-100%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using System.Collections.Generic;
 6using Azure.Core;
 7using Azure.Core.Pipeline;
 8using Azure.Identity;
 9
 10namespace Microsoft.Extensions.Azure
 11{
 12    internal class AzureClientsGlobalOptions
 13    {
 13014        public Func<IServiceProvider, TokenCredential> CredentialFactory { get; set; } = _ => new DefaultAzureCredential
 8815        public List<Action<ClientOptions, IServiceProvider>> ConfigureOptionDelegates { get; } = new List<Action<ClientO
 16    }
 17}