Пример #1
0
 public SuggestionsService(
     Configuration configuration,
     ConfigurationService configurationService,
     AuthenticationService authenticationService)
     : base(configuration, configurationService, authenticationService)
 {
 }
Пример #2
0
        private async Task Bootstrap()
        {
            Configuration = await Configuration.LoadFrom(_configurationData);

            ConfigurationService = new ConfigurationService(Configuration);
            AuthenticationService = new AuthenticationService(Configuration,ConfigurationService, _username, _password);
            SuggestionsService = new SuggestionsService(Configuration, ConfigurationService,AuthenticationService);
            DevicesService = new DevicesService(Configuration, ConfigurationService,AuthenticationService);
            DirectoryService = new DirectoryService(Configuration, ConfigurationService);
        }