Esempio n. 1
0
        public TeamsService(IConfiguration configuration, StateManagenment state)
        {
            Configuration = configuration;
            var appSettingsSection = Configuration.GetSection("AppSettings");

            AppSettings = appSettingsSection.Get <AppSettings>();
            _state      = state;
        }
 public CustomAuthenticationStateProvider(ILocalStorageService localStorageService,
                                          HttpClient httpClient, StateManagenment state, TeamsService service)
 {
     //throw new Exception("CustomAuthenticationStateProviderException");
     _localStorageService = localStorageService;
     _httpClient          = httpClient;
     _state   = state;
     _service = service;
 }