| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using Azure.Core.Extensions; |
| | 5 | | using Microsoft.Extensions.DependencyInjection; |
| | 6 | |
|
| | 7 | | namespace Microsoft.Extensions.Azure |
| | 8 | | { |
| | 9 | | internal sealed class AzureClientBuilder<TClient, TOptions>: IAzureClientBuilder<TClient, TOptions> where TOptions : |
| | 10 | | { |
| 24 | 11 | | public ClientRegistration<TClient, TOptions> Registration { get; } |
| 18 | 12 | | public IServiceCollection ServiceCollection { get; } |
| | 13 | |
|
| 50 | 14 | | internal AzureClientBuilder(ClientRegistration<TClient, TOptions> clientRegistration, IServiceCollection service |
| | 15 | | { |
| 50 | 16 | | Registration = clientRegistration; |
| 50 | 17 | | ServiceCollection = serviceCollection; |
| 50 | 18 | | } |
| | 19 | | } |
| | 20 | | } |