AzureIoTHubConnectedService.AccountPickerViewModel.AccountPickerViewModel C# (CSharp) Метод

AccountPickerViewModel() публичный Метод

public AccountPickerViewModel ( IServiceProvider serviceProvider, string hostId ) : Microsoft.VisualStudio.Services.Client.AccountManagement
serviceProvider IServiceProvider
hostId string
Результат Microsoft.VisualStudio.Services.Client.AccountManagement
        public AccountPickerViewModel(IServiceProvider serviceProvider, string hostId)
        {
            this.hostId = hostId;

            this.authenticationManager = (IAzureAuthenticationManager)serviceProvider.GetService(typeof(IAzureAuthenticationManager));
            this.authenticationManager.SubscriptionsChanged += this.OnSubscriptionsChanged;

            this.accountManager = (IAccountManager)serviceProvider.GetService(typeof(SVsAccountManager));
        }