public async void AsyncUpdateEnvironmentVariableInformation() { IsModelInformationBeingUpdated = true; IServiceFactory sf = ServiceFactoryProducer.GetServiceFactory(); IEnvironmentVariableService evs = sf.CreateEnvironmentVariableService(); ModelInformationUpdateProgress = "Loading environment variable information..."; EnvironmentVariables = await Task.Run(() => { return(evs.GetEnvironmentVariables()); }); RaisePropertyChanged("EnvironmentVariables"); IsModelInformationBeingUpdated = false; }