コード例 #1
0
        public async void AsyncUpdateBiosInformation()
        {
            IsModelInformationBeingUpdated = true;

            ModelInformationUpdateProgress = "Loading BIOS data...";
            Bios = await Task.Run(() =>
            {
                IServiceFactory sf = ServiceFactoryProducer.GetServiceFactory();

                IBIOSService bs = sf.CreateBIOSService();

                return(bs.GetBIOS());
            });

            IsModelInformationBeingUpdated = false;
        }