private async Task LoadDemoAvailability(bool forceLoad = false) { if (this.demoAvailabilityListView.ItemsSource == null || forceLoad) { this.demoAvailabilityListView.DataContext = await DemoLauncherPage.LoadDemoLauncherConfigFromFile("DemoLauncherConfig.xml"); } }
public static async Task <DemoLauncherConfig> LoadDemoRotationConfigFromFileAsync() { return(await DemoLauncherPage.LoadDemoLauncherConfigFromFile("DemoRotationConfig.xml", enableDemosByDefault : false)); }