Showing preview only (3,598K chars total). Download the full file or copy to clipboard to get everything.
Repository: Windows-XAML/201505-MVA
Branch: master
Commit: 9d411df77337
Files: 939
Total size: 3.2 MB
Directory structure:
gitextract_q2xce2zl/
├── .gitattributes
├── .gitignore
├── ActionCenterDemo/
│ ├── ActionCenterDemo/
│ │ ├── ActionCenterDemo.csproj
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── ApplicationBase.cs
│ │ │ └── MVVM.cs
│ │ ├── Converters/
│ │ │ ├── BoolToColorConverter.cs
│ │ │ └── CountToVisibilityConverter.cs
│ │ ├── Models/
│ │ │ ├── MessageItem.cs
│ │ │ └── ToastParams.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Repositories/
│ │ │ └── MessageItemRepository.cs
│ │ ├── Services/
│ │ │ ├── DispatcherService.cs
│ │ │ ├── NavigationService.cs
│ │ │ └── TileServices.cs
│ │ ├── ViewModels/
│ │ │ ├── DetailPageViewModel.cs
│ │ │ └── MainPageViewModel.cs
│ │ ├── Views/
│ │ │ ├── DetailPage.xaml
│ │ │ ├── DetailPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ ├── ActionCenterDemo.sln
│ └── ActionCenterHistoryChangedTask/
│ ├── ActionCenterChangedBackgroundTask.cs
│ ├── ActionCenterHistoryChangedTask.csproj
│ ├── MessageItem.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── ToastParams.cs
│ └── packages.config
├── Adaptive UI/
│ └── Blank10/
│ └── Views/
│ └── MainPage.xaml
├── AdaptiveCode/
│ └── VisibleBoundsDemo/
│ ├── VisibleBoundsDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Triggers/
│ │ │ └── DeviceFamilyTrigger.cs
│ │ └── VisibleBoundsDemo.csproj
│ └── VisibleBoundsDemo.sln
├── AdaptiveUI/
│ ├── AdaptiveUI/
│ │ ├── AdaptiveUI-Blank.csproj
│ │ ├── AdaptiveUI.sln
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Controls/
│ │ │ └── AutoNavButton.cs
│ │ ├── Extensions/
│ │ │ └── WeakEvent.cs
│ │ ├── Model/
│ │ │ └── SampleInfo.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Themes/
│ │ │ └── Generic.xaml
│ │ ├── Triggers/
│ │ │ ├── ApiInformationTrigger.cs
│ │ │ ├── ControlSizeTrigger.cs
│ │ │ ├── DeviceFamilyTrigger.cs
│ │ │ ├── InputTypeTrigger.cs
│ │ │ ├── InteractionModeTrigger.cs
│ │ │ ├── NetworkAvailableStateTrigger.cs
│ │ │ └── OrientationTrigger.cs
│ │ ├── Views/
│ │ │ ├── ApiInformationPage.xaml
│ │ │ ├── ApiInformationPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── OrientationPage.xaml
│ │ │ ├── OrientationPage.xaml.cs
│ │ │ ├── WindowSizePage.xaml
│ │ │ └── WindowSizePage.xaml.cs
│ │ └── packages.config
│ └── AdaptiveUI.sln
├── AppService/
│ └── AppService_EncoderDecoder/
│ ├── AppService_EncoderDecoder.sln
│ ├── ClientApp/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── ClientApp.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ └── packages.config
│ ├── ServerApp/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── ServerApp.csproj
│ │ └── packages.config
│ └── TextEncoderComponent/
│ ├── EncoderDecoderTask.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── TextEncoderComponent.csproj
│ └── packages.config
├── AppServicesDemo/
│ ├── SimpleCalculatorAppService/
│ │ ├── AppServicesClientApp/
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── AppServicesClientApp.csproj
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Package.appxmanifest
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── AppServicesDemo/
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── AppServicesDemo.csproj
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Package.appxmanifest
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── AppServicesDemoTask/
│ │ │ ├── AppServiceTask.cs
│ │ │ ├── AppServicesDemoTask.csproj
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── SimpleCalculatorAppServicesDemo.sln
│ └── SynonymsAppServiceDemo/
│ ├── AppServicesClientApp/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── AppServicesClientApp.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── packages.config
│ ├── AppServicesDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── AppServicesDemo.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ ├── AppServicesDemo.sln
│ ├── AppServicesDemoTask/
│ │ ├── AppServiceTask.cs
│ │ ├── AppServicesDemoTask.csproj
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ ├── SynonymsService/
│ │ ├── BingSynonymsResponse.cs
│ │ ├── JSONHelper.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── SynonymApi.cs
│ │ ├── SynonymsService.csproj
│ │ └── SynonymsServiceTask.cs
│ └── SynonymsServiceClientLibrary/
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── SynonymsServiceClient.cs
│ ├── SynonymsServiceClientLibrary.csproj
│ ├── SynonymsServiceResponse.cs
│ └── packages.config
├── AzureMobileApps/
│ ├── UWPDevMVA_Runtime/
│ │ ├── UWPDevMVA.sln
│ │ └── UWPDevMVAService/
│ │ ├── App_Start/
│ │ │ └── WebApiConfig.cs
│ │ ├── Controllers/
│ │ │ └── TodoItemController.cs
│ │ ├── DataObjects/
│ │ │ └── TodoItem.cs
│ │ ├── Global.asax
│ │ ├── Global.asax.cs
│ │ ├── Models/
│ │ │ └── UWPDevMVAContext.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── UWPDevMVAService.csproj
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ └── UWPDevMVA_Windows_CS/
│ ├── UWPDevMVA/
│ │ └── UWPDevMVA.WindowsPhone/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DataModel/
│ │ │ └── TodoItem.cs
│ │ ├── MainPage.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── UWPDevMVA.UWP.csproj
│ │ ├── app.config
│ │ └── packages.config
│ └── UWPDevMVA.sln
├── BackgroundExecution/
│ ├── BackgroundExecution.sln
│ ├── BackgroundTask/
│ │ ├── BackgroundTask.csproj
│ │ ├── MyUpdateBadgeTask.cs
│ │ ├── MyUpdateTileTask.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── packages.config
│ └── ForegroundApp/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ApplicationInsights.config
│ ├── Common/
│ │ ├── BackgroundHelper.cs
│ │ └── BootStrapper.cs
│ ├── Converters/
│ │ ├── DateTimeFormatConverter.cs
│ │ └── ValueWhenConverter.cs
│ ├── ForegroundApp.csproj
│ ├── Models/
│ │ ├── Models.readme.htm
│ │ ├── TodoItem.cs
│ │ └── TodoList.cs
│ ├── Mvvm/
│ │ ├── BindableBase.cs
│ │ ├── Command.cs
│ │ └── ViewModelBase.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── Repositories/
│ │ ├── TodoItemRepository.cs
│ │ └── TodoListRepository.cs
│ ├── Services/
│ │ ├── FileService/
│ │ │ ├── FileHelper.cs
│ │ │ └── FileService.cs
│ │ └── NavigationService/
│ │ ├── INavigatable.cs
│ │ ├── NavigationEventArgs.cs
│ │ ├── NavigationFacade.cs
│ │ └── NavigationService.cs
│ ├── Styles/
│ │ └── StarRadioButtonStyle.xaml
│ ├── ViewModels/
│ │ ├── MainPageViewModel.cs
│ │ ├── TodoItemViewModel.cs
│ │ └── TodoListViewModel.cs
│ ├── Views/
│ │ ├── MainPage.xaml
│ │ └── MainPage.xaml.cs
│ └── packages.config
├── Cortana/
│ ├── CortanaTodo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── CortanaTodo.csproj
│ │ ├── Extensions/
│ │ │ └── WeakEvent.cs
│ │ ├── Mvvm/
│ │ │ ├── CommandCollection.cs
│ │ │ ├── CommandHelper.cs
│ │ │ ├── DynamicCommand.cs
│ │ │ ├── ViewModel.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ ├── Lifecycle/
│ │ │ │ └── ILifecycleAware.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigationAware.cs
│ │ │ ├── NavigationEventArgsEx.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ └── MainPageViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ ├── VoiceCommands.xml
│ │ └── packages.config
│ ├── CortanaTodo.Background/
│ │ ├── CortanaTodo.Background.csproj
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── VoiceCommandService.cs
│ │ └── packages.config
│ ├── CortanaTodo.Shared/
│ │ ├── CortanaTodo.Shared.csproj
│ │ ├── Models/
│ │ │ ├── BindableBase.cs
│ │ │ ├── DataObject.cs
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ ├── TaskHelper.cs
│ │ │ └── TodoService.cs
│ │ └── packages.config
│ └── CortanaTodo.sln
├── DragAndDropSample/
│ ├── DragAndDropSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── DragAndDropSample.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ └── packages.config
│ └── DragAndDropSample.sln
├── HelloWorld/
│ └── HelloWorld/
│ ├── Services/
│ │ └── AdService/
│ │ ├── AdHelper.cs
│ │ └── AdService.cs
│ └── ViewModels/
│ └── MainPageViewModel.cs
├── HttpClient WireSerialization/
│ ├── NorthwindService/
│ │ ├── Category.cs
│ │ ├── Customer.cs
│ │ ├── Employee.cs
│ │ ├── Northwind.Context.cs
│ │ ├── Northwind.Context.tt
│ │ ├── Northwind.Designer.cs
│ │ ├── Northwind.cs
│ │ ├── Northwind.edmx
│ │ ├── Northwind.edmx.diagram
│ │ ├── Northwind.svc
│ │ ├── Northwind.svc.cs
│ │ ├── Northwind.tt
│ │ ├── NorthwindService.csproj
│ │ ├── Order.cs
│ │ ├── Order_Detail.cs
│ │ ├── Product.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Shipper.cs
│ │ ├── Supplier.cs
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ ├── UWPclient/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── UWPclient.csproj
│ │ └── packages.config
│ └── WireSerialization.sln
├── KeepTheKeys/
│ ├── KeepTheKeys/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DevicePage.xaml
│ │ ├── DevicePage.xaml.cs
│ │ ├── KeepTheKeys.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── RadioButtonValueConverter.cs
│ ├── KeepTheKeys.sln
│ ├── KeepTheKeysBackground/
│ │ ├── KeepTheKeysBackground.csproj
│ │ ├── KeyFobTask.cs
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ ├── KeepTheKeysCommon/
│ │ ├── AlertLevel.cs
│ │ ├── KeepTheKeysCommon.csproj
│ │ ├── KeyFob.cs
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ └── Notes.txt
├── LaunchForResultsDemo/
│ ├── LaunchForResultsDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── ContinuationPage.xaml
│ │ ├── ContinuationPage.xaml.cs
│ │ ├── LaunchForResultsDemo.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ └── Properties/
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── LaunchForResultsDemo.sln
│ └── LaunchTargetDemoApp/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ApplicationInsights.config
│ ├── LaunchTargetDemoApp.csproj
│ ├── LaunchTargetPage.xaml
│ ├── LaunchTargetPage.xaml.cs
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── Package.appxmanifest
│ └── Properties/
│ ├── AssemblyInfo.cs
│ └── Default.rd.xml
├── LaunchForResultsShoppingDemo/
│ ├── CheckOut/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── CheckOut.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── MakePayment.xaml
│ │ ├── MakePayment.xaml.cs
│ │ ├── Models/
│ │ │ └── Item.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── packages.config
│ ├── LaunchForResultsShoppingDemo.sln
│ └── Shop/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Receipt.xaml
│ ├── Receipt.xaml.cs
│ ├── Shop.csproj
│ ├── ViewModels/
│ │ ├── CanNotifyPropertyChanged.cs
│ │ ├── Command.cs
│ │ ├── MainPageViewModel.cs
│ │ ├── Product.cs
│ │ └── ViewModelLocator.cs
│ └── packages.config
├── MapsDrawingShapes/
│ ├── DrawingShapes/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DrawingShapes.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── MapElementData.cs
│ │ ├── MapExtensions.cs
│ │ ├── Package.appxmanifest
│ │ ├── PointList.cs
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ └── DrawingShapes.sln
├── MigrationDemo/
│ ├── Begin/
│ │ └── ContosoCookbook/
│ │ ├── ContosoCookbook/
│ │ │ ├── AboutPage.xaml
│ │ │ ├── AboutPage.xaml.cs
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── Common/
│ │ │ │ ├── NavigationHelper.cs
│ │ │ │ ├── ObservableDictionary.cs
│ │ │ │ ├── ReadMe.txt
│ │ │ │ ├── RelayCommand.cs
│ │ │ │ └── SuspensionManager.cs
│ │ │ ├── ContosoCookbook.csproj
│ │ │ ├── Converters/
│ │ │ │ ├── ImageSourceToStringConverter.cs
│ │ │ │ └── UserImagesDisplayConverter.cs
│ │ │ ├── Data/
│ │ │ │ └── Recipes.txt
│ │ │ ├── DataModel/
│ │ │ │ ├── BindableBase.cs
│ │ │ │ ├── RecipeDataSource.cs
│ │ │ │ └── SampleDataSource.cs
│ │ │ ├── GroupDetailPage.xaml
│ │ │ ├── GroupDetailPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Package.appxmanifest
│ │ │ ├── Properties/
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── RecipeDetailPage.xaml
│ │ │ ├── RecipeDetailPage.xaml.cs
│ │ │ └── Strings/
│ │ │ └── en-US/
│ │ │ └── Resources.resw
│ │ └── ContosoCookbook.sln
│ ├── Controls/
│ │ ├── BackButton.xaml
│ │ └── BackButton.xaml.cs
│ └── End/
│ └── ContosoCookbook/
│ ├── ContosoCookbook/
│ │ ├── AboutPage.xaml
│ │ ├── AboutPage.xaml.cs
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── ReadMe.txt
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── ContosoCookbook.csproj
│ │ ├── Controls/
│ │ │ ├── BackButton.xaml
│ │ │ └── BackButton.xaml.cs
│ │ ├── Converters/
│ │ │ ├── ImageSourceToStringConverter.cs
│ │ │ └── UserImagesDisplayConverter.cs
│ │ ├── Data/
│ │ │ └── Recipes.txt
│ │ ├── DataModel/
│ │ │ ├── BindableBase.cs
│ │ │ ├── RecipeDataSource.cs
│ │ │ └── SampleDataSource.cs
│ │ ├── GroupDetailPage.xaml
│ │ ├── GroupDetailPage.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── RecipeDetailPage.xaml
│ │ ├── RecipeDetailPage.xaml.cs
│ │ └── Strings/
│ │ └── en-US/
│ │ └── Resources.resw
│ └── ContosoCookbook.sln
├── Navigation/
│ └── Blank1/
│ ├── ViewModels/
│ │ └── Page2ViewModel.cs
│ └── Views/
│ └── MainPage.xaml.cs
├── Performance/
│ ├── Performance/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Performance.csproj
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ └── TodoItemRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ ├── IncrementalAccessPageViewModel.cs
│ │ │ ├── RandomAccessPageViewModel.cs
│ │ │ └── TodoItemViewModel.cs
│ │ ├── Views/
│ │ │ ├── DeferedPhasePage.xaml
│ │ │ ├── DeferedPhasePage.xaml.cs
│ │ │ ├── IncrementalAccessPage.xaml
│ │ │ ├── IncrementalAccessPage.xaml.cs
│ │ │ ├── RandomAccessPage.xaml
│ │ │ ├── RandomAccessPage.xaml.cs
│ │ │ ├── ShellPage.xaml
│ │ │ └── ShellPage.xaml.cs
│ │ ├── Virtualize/
│ │ │ ├── IProvider.cs
│ │ │ ├── IncrementalList.cs
│ │ │ ├── ObservableVector.cs
│ │ │ ├── RandomAccessList - Copy.cs
│ │ │ ├── RandomAccessList.cs
│ │ │ └── TodoItemViewModelProvider.cs
│ │ └── packages.config
│ └── Performance.sln
├── ProtocolHandlerDemo/
│ ├── FirstProtocolHandler/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── FirstProtocolHandler.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ └── packages.config
│ ├── ProtocolHandlerDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── ProtocolHandlerDemo.csproj
│ │ └── packages.config
│ ├── ProtocolHandlerDemo.sln
│ └── SecondProtocolHandler/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ApplicationInsights.config
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── SecondProtocolHandler.csproj
│ └── packages.config
├── PushTriggerSample/
│ ├── PushTriggerBackgroundTask/
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── PushTriggerBackgroundTask.csproj
│ │ ├── RawTriggerTask.cs
│ │ └── packages.config
│ ├── PushTriggerSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Helpers/
│ │ │ └── PushHandlingHelper.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── PushTriggerSample.csproj
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── PushTriggerSample.sln
├── README.md
├── RoamingSettingsDemo/
│ ├── RoamingSettingsDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── RoamingSettingsDemo.csproj
│ │ ├── Services/
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── RoamingSettingsDemo.sln
├── SQLiteDemo/
│ ├── SQLiteDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── ReadMe.txt
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── Converters/
│ │ │ └── DateTimeToStringConverter.cs
│ │ ├── CreateDatabase.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── ProjectsPage.xaml
│ │ ├── ProjectsPage.xaml.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── SQLiteDemo.csproj
│ │ ├── ViewModels/
│ │ │ ├── Customer.cs
│ │ │ ├── CustomersViewModel.cs
│ │ │ ├── Project.cs
│ │ │ ├── ProjectsViewModel.cs
│ │ │ ├── TableViewModelBase.cs
│ │ │ └── ViewModelBase.cs
│ │ └── packages.config
│ └── SQLiteDemo.sln
├── ShareContractExample/
│ ├── ContosoCookbook/
│ │ ├── AboutPage.xaml
│ │ ├── AboutPage.xaml.cs
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── ReadMe.txt
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── ContosoCookbook.csproj
│ │ ├── Converters/
│ │ │ ├── ImageSourceToStringConverter.cs
│ │ │ └── UserImagesDisplayConverter.cs
│ │ ├── Data/
│ │ │ └── Recipes.txt
│ │ ├── DataModel/
│ │ │ ├── BindableBase.cs
│ │ │ ├── RecipeDataSource.cs
│ │ │ └── SampleDataSource.cs
│ │ ├── GroupDetailPage.xaml
│ │ ├── GroupDetailPage.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── RecipeDetailPage.xaml
│ │ ├── RecipeDetailPage.xaml.cs
│ │ └── Strings/
│ │ └── en-US/
│ │ └── Resources.resw
│ └── ContosoCookbook.sln
├── SimplePushDemo/
│ ├── SimplePushDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Helpers/
│ │ │ └── PushHandlingHelper.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── SimplePushDemo.csproj
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── SimplePushDemo.sln
├── SplashScreen/
│ └── SplashScreen/
│ ├── SplashScreen-Blank/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── SplashScreen-Blank.csproj
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Splash.xaml
│ │ │ └── Splash.xaml.cs
│ │ └── packages.config
│ ├── SplashScreen-Template10/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ └── NavigationService/
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── SplashScreen-Template10.csproj
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Splash.xaml
│ │ │ └── Splash.xaml.cs
│ │ └── packages.config
│ └── SplashScreen.sln
├── SplitView/
│ ├── SplitView/
│ │ ├── SplitView-Blank/
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── Mvvm/
│ │ │ │ └── Command.cs
│ │ │ ├── Package.appxmanifest
│ │ │ ├── Properties/
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ └── Default.rd.xml
│ │ │ ├── SplitView-Blank.csproj
│ │ │ └── Views/
│ │ │ ├── AboutPage.xaml
│ │ │ ├── AboutPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── PrivacyPage.xaml
│ │ │ ├── PrivacyPage.xaml.cs
│ │ │ ├── SettingsPage.xaml
│ │ │ ├── SettingsPage.xaml.cs
│ │ │ ├── Shell.xaml
│ │ │ └── Shell.xaml.cs
│ │ └── SplitView-Template10/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ ├── KeyboardService/
│ │ │ │ ├── KeyboardEventArgs.cs
│ │ │ │ ├── KeyboardHelper.cs
│ │ │ │ └── KeyboardService.cs
│ │ │ └── NavigationService/
│ │ │ ├── FrameFacade.cs
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigatedEventArgs.cs
│ │ │ ├── NavigatingEventArgs.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── SplitView-Template10.csproj
│ │ ├── Styles/
│ │ │ └── SplitViewStyles.xaml
│ │ ├── Views/
│ │ │ ├── AboutPage.xaml
│ │ │ ├── AboutPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── PrivacyPage.xaml
│ │ │ ├── PrivacyPage.xaml.cs
│ │ │ ├── SettingsPage.xaml
│ │ │ ├── SettingsPage.xaml.cs
│ │ │ ├── Shell.xaml
│ │ │ └── Shell.xaml.cs
│ │ └── packages.config
│ └── SplitView.sln
├── SuspendResume/
│ ├── Blank1/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Blank1.csproj
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ ├── KeyboardService/
│ │ │ │ ├── KeyboardEventArgs.cs
│ │ │ │ ├── KeyboardHelper.cs
│ │ │ │ └── KeyboardService.cs
│ │ │ └── NavigationService/
│ │ │ ├── FrameFacade.cs
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigatedEventArgs.cs
│ │ │ ├── NavigatingEventArgs.cs
│ │ │ └── NavigationService.cs
│ │ ├── ViewModels/
│ │ │ ├── DetailsPageViewModel.cs
│ │ │ └── MainPageViewModel.cs
│ │ ├── Views/
│ │ │ ├── DetailsPage.xaml
│ │ │ ├── DetailsPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── SuspendResume.sln
├── TODOFileHandlingSample/
│ ├── TODOFileHandlingSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOFileHandlingSample.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOFileHandlingSample.sln
├── TODOFilePickerSample/
│ ├── TODOFilePickerSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOFilePickerSample.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOFilePickerSample.sln
├── TODOPivot/
│ ├── TODOPivot/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOPivot.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOPivot.sln
├── TODOSQLiteSample/
│ ├── TODOSQLiteSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TableSQLiteRepoBase.cs
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ ├── NavigationService/
│ │ │ │ ├── INavigatable.cs
│ │ │ │ ├── NavigationEventArgs.cs
│ │ │ │ ├── NavigationFacade.cs
│ │ │ │ └── NavigationService.cs
│ │ │ └── SQLiteService/
│ │ │ └── SQLiteService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOSQLiteSample.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOSQLiteSample.sln
├── VideoInterstitialAd/
│ ├── HelloWorld/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── HelloWorld.csproj
│ │ ├── Models/
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── AdService/
│ │ │ │ ├── AdHelper.cs
│ │ │ │ └── AdService.cs
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ ├── InAppPurchaseService/
│ │ │ │ ├── InAppPurchaseHelper.cs
│ │ │ │ └── InAppPurchaseService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── HelloWorld.sln
└── XamlControls/
├── XamlControls-Blank/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Models/
│ │ ├── MenuItem.cs
│ │ ├── TodoItem.cs
│ │ └── TodoList.cs
│ ├── Mvvm/
│ │ ├── BindableBase.cs
│ │ └── Command.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── ViewModels/
│ │ └── SampleViewModel.cs
│ ├── Views/
│ │ ├── GeometryControls.xaml
│ │ ├── GeometryControls.xaml.cs
│ │ ├── InputControls.xaml
│ │ ├── InputControls.xaml.cs
│ │ ├── ItemsControls.xaml
│ │ ├── ItemsControls.xaml.cs
│ │ ├── LayoutControls.xaml
│ │ ├── LayoutControls.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Transforms.xaml
│ │ └── Transforms.xaml.cs
│ └── XamlControls-Blank.csproj
└── XamlControls.sln
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
================================================
FILE: .gitignore
================================================
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
# Visual Studo 2015 cache/options directory
.vs/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding addin-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
# **/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# Windows Azure Build Output
csx/
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
*.[Cc]ache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
#################
## Visual Studio
#################
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.Publish.xml
*.pubxml
*.publishproj
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
App_Data/*.mdf
App_Data/*.ldf
#############
## Windows detritus
#############
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac crap
.DS_Store
#############
## Python
#############
*.py[cod]
# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
#Translations
*.mo
#Mr Developer
.mr.developer.cfg
**/packages/
================================================
FILE: ActionCenterDemo/ActionCenterDemo/ActionCenterDemo.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ActionCenterDemo</RootNamespace>
<AssemblyName>ActionCenterDemo</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10069.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10069.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>Template10_TemporaryKey.pfx</PackageCertificateKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="Common\ApplicationBase.cs" />
<Compile Include="Common\MVVM.cs" />
<Compile Include="Converters\BoolToColorConverter.cs" />
<Compile Include="Converters\CountToVisibilityConverter.cs" />
<Compile Include="Models\MessageItem.cs" />
<Compile Include="Models\ToastParams.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Repositories\MessageItemRepository.cs" />
<Compile Include="Services\DispatcherService.cs" />
<Compile Include="Services\NavigationService.cs" />
<Compile Include="Services\TileServices.cs" />
<Compile Include="ViewModels\DetailPageViewModel.cs" />
<Compile Include="ViewModels\MainPageViewModel.cs" />
<Compile Include="Views\DetailPage.xaml.cs">
<DependentUpon>DetailPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="packages.config" />
<None Include="Template10_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Hen-01.scale-100.png" />
<Content Include="Assets\Logo.scale-100.png" />
<Content Include="Assets\SmallLogo.scale-100.png" />
<Content Include="Assets\SplashScreen.scale-100.png" />
<Content Include="Assets\Square71x71Logo.scale-100.png" />
<Content Include="Assets\StoreLogo.scale-100.png" />
<Content Include="Assets\WideLogo.scale-100.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<Reference Include="GalaSoft.MvvmLight">
<HintPath>..\packages\MvvmLightLibs.5.0.2.0\lib\netcore451\GalaSoft.MvvmLight.dll</HintPath>
</Reference>
<Reference Include="GalaSoft.MvvmLight.Extras">
<HintPath>..\packages\MvvmLightLibs.5.0.2.0\lib\netcore451\GalaSoft.MvvmLight.Extras.dll</HintPath>
</Reference>
<Reference Include="GalaSoft.MvvmLight.Platform">
<HintPath>..\packages\MvvmLightLibs.5.0.2.0\lib\netcore451\GalaSoft.MvvmLight.Platform.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Practices.ServiceLocation">
<HintPath>..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\netcore45\Newtonsoft.Json.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="Styles\" />
</ItemGroup>
<ItemGroup>
<Page Include="Views\DetailPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MainPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ActionCenterHistoryChangedTask\ActionCenterHistoryChangedTask.csproj">
<Project>{5680fb19-c161-46d2-a1ae-115954e020cf}</Project>
<Name>ActionCenterHistoryChangedTask</Name>
</ProjectReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: ActionCenterDemo/ActionCenterDemo/App.xaml
================================================
<common:ApplicationBase
x:Class="ActionCenterDemo.App"
xmlns:common="using:ActionCenterDemo.Common"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ActionCenterDemo"
xmlns:converters ="using:ActionCenterDemo.Converters"
RequestedTheme="Dark">
<Application.Resources>
<ResourceDictionary>
<converters:BoolToColorConverter x:Key="BoolToColorConverter"/>
<converters:CountToVisibilityConverter x:Key="CountToVisibilityConverter"/>
</ResourceDictionary>
</Application.Resources>
</common:ApplicationBase>
================================================
FILE: ActionCenterDemo/ActionCenterDemo/App.xaml.cs
================================================
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
namespace ActionCenterDemo
{
sealed partial class App : Common.ApplicationBase
{
public App() : base()
{
this.InitializeComponent();
}
protected override Task OnLaunchedAsync(LaunchActivatedEventArgs e)
{
// first launch navigation
this.NavigationService.Navigate(typeof(Views.MainPage));
return base.OnLaunchedAsync(e);
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Common/ApplicationBase.cs
================================================
using System;
using System.Linq;
using Windows.UI.Xaml;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.UI.Xaml.Controls;
using Windows.ApplicationModel.Activation;
namespace ActionCenterDemo.Common
{
// ApplicationBase is a drop-in replacement of Application
// - OnInitializeAsync is the first in the pipeline, if launching
// - OnLaunched[*]Async is required, and second in the pipeline
// - OnActivated[*]Async is first in the pipeline, if activating
// - NavigationService is an automatic property of this class
public abstract partial class ApplicationBase : Application
{
public ApplicationBase()
{
this.Resuming += (s, e) => HandleResuming(s, e);
this.Suspending += async (s, e) =>
{
var deferral = e.SuspendingOperation.GetDeferral();
this.NavigationService.Suspending();
await HandleSuspendingAsync(s, e);
deferral.Complete();
};
}
public Services.NavigationService NavigationService { get; private set; }
protected virtual void HandleResuming(object s, object e) { }
protected virtual Task HandleSuspendingAsync(object s, SuspendingEventArgs e) { return Task.FromResult<object>(null); }
public Frame RootFrame { get; set; }
protected Func<SplashScreen, Page> SplashFactory { get; set; }
protected virtual Task OnInitializeAsync() { return Task.FromResult<object>(null); }
protected virtual Task OnActivatedAsync(IActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnActivatedByProtocolAsync(ProtocolActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnActivatedByPrimaryTileAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnActivatedBySecondaryTileAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnActivatedByToastNotificationAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected override async void OnActivated(IActivatedEventArgs e)
{
switch (e.Kind)
{
// See http://go.microsoft.com/fwlink/?LinkID=288842
case ActivationKind.Launch:
var args = e as LaunchActivatedEventArgs;
if (args.TileId == "App" && !args.Arguments.Any())
{ await OnActivatedByPrimaryTileAsync(args); }
else if (args.TileId == "App" && args.Arguments.Any())
{ await OnActivatedBySecondaryTileAsync(args); }
else
{ await OnActivatedByToastNotificationAsync(args); }
break;
case ActivationKind.Protocol:
case ActivationKind.ProtocolForResults:
await OnActivatedByProtocolAsync(e as ProtocolActivatedEventArgs);
break;
default:
break;
}
// this is to handle any other type of activation
await this.OnActivatedAsync(e);
Window.Current.Activate();
}
protected virtual Task OnLaunchedAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnLaunchedByProtocolAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnLaunchedByPrimaryTileAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnLaunchedBySecondaryTileAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected virtual Task OnLaunchedByToastNotificationAsync(LaunchActivatedEventArgs e) { return Task.FromResult<object>(null); }
protected override async void OnLaunched(LaunchActivatedEventArgs e)
{
if (this.SplashFactory != null)
{
Window.Current.Content = this.SplashFactory(e.SplashScreen);
Window.Current.Activate();
Window.Current.Content = null;
}
this.RootFrame = this.RootFrame ?? new Frame();
this.RootFrame.Language = Windows.Globalization.ApplicationLanguages.Languages[0];
this.NavigationService = new Services.NavigationService(this.RootFrame);
// the user may override to set custom content
await OnInitializeAsync();
// if the user didn't set custom content, use frame
if (Window.Current.Content == null)
{ Window.Current.Content = this.RootFrame; }
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
try { /* TODO: restore state */ }
catch { /* TODO: handle fail */ }
}
else
{
switch (e.Kind)
{
// See http://go.microsoft.com/fwlink/?LinkID=288842
case ActivationKind.Launch:
if (e.TileId == "App" && !e.Arguments.Any())
{ await OnLaunchedByPrimaryTileAsync(e); }
else if (e.TileId == "App" && e.Arguments.Any())
{ await OnLaunchedByToastNotificationAsync(e); }
else
{ await OnLaunchedBySecondaryTileAsync(e); }
break;
case ActivationKind.ProtocolForResults:
case ActivationKind.Protocol:
await OnLaunchedByProtocolAsync(e);
break;
default:
break;
}
// this is to handle any other type of launch
await this.OnLaunchedAsync(e);
}
Window.Current.Activate();
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Common/MVVM.cs
================================================
using System;
using System.Collections.Generic;
using Windows.UI.Xaml.Navigation;
namespace ActionCenterDemo.Common
{
// this is an MVVM abstraction, allowing for any MVVM framework to be used
// the default implementation is MVVM light, but it is not required
// command is an implementation ICommand for buttons
public class Command
: GalaSoft.MvvmLight.Command.RelayCommand
{
public Command(Action execute) : base(execute) { }
public Command(Action execute, Func<bool> canExecute) : base(execute, canExecute) { }
}
// command<T> is an implementation of ICommand with parameters for buttons
public class Command<T>
: GalaSoft.MvvmLight.Command.RelayCommand<T>
{
public Command(Action<T> execute) : base(execute) { }
public Command(Action<T> execute, Func<T, bool> canExecute) : base(execute, canExecute) { }
}
// viewmodelbase enables To/From, called by NavigationService
public abstract class ViewModelBase
: GalaSoft.MvvmLight.ViewModelBase
{
public virtual void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<string, object> state) { }
public virtual void OnNavigatedFrom(Dictionary<string, object> state, bool suspending) { }
}
// imessage is what messenger sends
public interface IMessage { }
// message is a generic implementation of imessage
public class Message<T>
: IMessage
{ public T Payload { get; set; } }
// use messenger to communicate between viewmodels
public class Messenger : GalaSoft.MvvmLight.Messaging.Messenger
{
public void Subscribe<T>(object recipient, Action<T> action)
where T : IMessage
{ base.Register<T>(recipient, action); }
public void Unsubscribe<T>(object recipient)
where T : IMessage
{ base.Unregister<T>(recipient); }
public void Publish<T>(T message)
where T : IMessage
{ base.Send<T>(message); }
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Converters/BoolToColorConverter.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Data;
namespace ActionCenterDemo.Converters
{
public class BoolToColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
if (value is Boolean)
{
return (bool)value ? Colors.Blue : Colors.Red;
};
return null;
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new NotImplementedException();
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Converters/CountToVisibilityConverter.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace ActionCenterDemo.Converters
{
public class CountToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
return (int)value == 0 ? Visibility.Collapsed : Visibility.Visible;
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new NotImplementedException();
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Models/MessageItem.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ActionCenterDemo.Models
{
public sealed class MessageItem
{
public string ID { get; set; }
public string Title { get; set; }
public string Body { get; set; }
public bool IsRead { get; set; }
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Models/ToastParams.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ActionCenterDemo
{
class ToastParams
{
public string type { get; set; }
public string param1 { get; set; }
public string param2 { get; set; }
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Package.appxmanifest
================================================
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="6661385f-3d00-499d-8a85-165a46aba674"
Publisher="CN=Jerry"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="6661385f-3d00-499d-8a85-165a46aba674" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>Template10</DisplayName>
<PublisherDisplayName>Jerry</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.10069" MaxVersionTested="10.0.0.10069" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="Template10.App">
<uap:VisualElements
DisplayName="Action Center Demo"
Square150x150Logo="Assets\Logo.png"
Square44x44Logo="Assets\SmallLogo.png"
Description="Action Center Demo"
BackgroundColor="teal"
ToastCapable="true">
<uap:DefaultTile Wide310x150Logo="Assets\WideLogo.png" Square71x71Logo="Assets\Square71x71Logo.png">
</uap:DefaultTile>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
<uap:LockScreen Notification="badge" BadgeLogo="Assets\SmallLogo.png"/>
</uap:VisualElements>
<Extensions>
<Extension Category="windows.backgroundTasks" EntryPoint="ActionCenterHistoryChangedTask.ActionCenterChangedBackgroundTask">
<BackgroundTasks>
<Task Type="systemEvent" />
</BackgroundTasks>
</Extension>
<!--This next bg task definition is temporary until Run on Lock Screen requirement goes away-->
<Extension Category="windows.backgroundTasks" EntryPoint="WindowsRuntimeComponent1.Class1">
<BackgroundTasks>
<Task Type="pushNotification" />
</BackgroundTasks>
</Extension>
</Extensions>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Properties/AssemblyInfo.cs
================================================
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ActionCenterDemo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ActionCenterDemo")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Repositories/MessageItemRepository.cs
================================================
using ActionCenterDemo.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
namespace ActionCenterDemo.Repositories
{
class MessageItemRepository
{
private List<MessageItem> _messageItems;
private MessageItemRepository()
{
LoadData();
}
public void LoadData()
{
if (!ApplicationData.Current.LocalSettings.Values.ContainsKey("data"))
{
ApplicationData.Current.LocalSettings.Values["data"] =
Newtonsoft.Json.JsonConvert.SerializeObject(new List<MessageItem>());
}
var data = ApplicationData.Current.LocalSettings.Values["data"] as string;
_messageItems = Newtonsoft.Json.JsonConvert.DeserializeObject<List<MessageItem>>(data);
}
private static MessageItemRepository _instance;
public static MessageItemRepository GetInstance()
{
if (_instance == null)
{
_instance = new MessageItemRepository();
}
return _instance;
}
public IEnumerable<Models.MessageItem> GetAllMessageItems()
{
return _messageItems;
}
public async Task AddAsync(MessageItem messageItem)
{
_messageItems.Add(messageItem);
await PersistAsync();
}
public async Task RemoveAsync(string iD)
{
var target = (from m in _messageItems
where m.ID == iD
select m).FirstOrDefault();
if (target != null) _messageItems.Remove(target);
await PersistAsync();
}
public async Task UpdateAsync(MessageItem messageItem)
{
var target = (from m in _messageItems
where m.ID == messageItem.ID
select m).FirstOrDefault();
if (target != null)
{
int idx = _messageItems.IndexOf(target);
_messageItems.Remove(target);
_messageItems.Insert(idx, messageItem);
}
await PersistAsync();
}
public IEnumerable<MessageItem> Find(Func<MessageItem, bool> predicate)
{
return _messageItems.Where(predicate);
}
private async Task PersistAsync()
{
ApplicationData.Current.LocalSettings.Values["data"] = Newtonsoft.Json.JsonConvert.SerializeObject(_messageItems);
}
public void SaveChanges()
{
ApplicationData.Current.LocalSettings.Values["data"] = Newtonsoft.Json.JsonConvert.SerializeObject(_messageItems);
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Services/DispatcherService.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ActionCenterDemo.Services
{
public static class DispatchService
{
public static async void InvokeAsync(Action action)
{
var dispatchObject = Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher;
if (dispatchObject == null || dispatchObject.HasThreadAccess)
{
action();
}
else
{
await dispatchObject.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal,
() => action.Invoke());
}
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Services/NavigationService.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace ActionCenterDemo.Services
{
public class NavigationService
{
NavigationFacade _frame;
string LastNavigationParameter { get; set; /* TODO: persist */ }
string LastNavigationType { get; set; /* TODO: persist */ }
public NavigationService(Frame frame)
{
_frame = new NavigationFacade(frame);
_frame.Navigating += (s, e) => NavigateFrom(false);
_frame.Navigated += (s, e) => NavigateTo(e.NavigationMode, e.Parameter);
}
void NavigateFrom(bool suspending)
{
var page = _frame.Content as FrameworkElement;
if (page != null)
{
var viewmodel = page.DataContext as Common.ViewModelBase;
if (viewmodel != null)
{
// TODO: get existing state
viewmodel.OnNavigatedFrom(null, suspending);
}
}
}
void NavigateTo(NavigationMode mode, string parameter)
{
LastNavigationParameter = parameter;
LastNavigationType = _frame.Content.GetType().FullName;
if (mode == NavigationMode.New)
{
// TODO: clear existing state
}
var page = _frame.Content as FrameworkElement;
if (page != null)
{
var viewmodel = page.DataContext as Common.ViewModelBase;
if (viewmodel != null)
{
// TODO: fetch state
viewmodel.OnNavigatedTo(parameter, mode, null);
}
}
}
public bool Navigate(Type page, string parameter = null)
{
if (page == null)
throw new ArgumentNullException("page");
if (page.FullName.Equals(LastNavigationType) && parameter == LastNavigationParameter)
return false;
return _frame.Navigate(page, parameter);
}
public void RestoreSavedNavigation() { /* TODO */ }
public void GoBack() { _frame.GoBack(); }
public bool CanGoBack { get { return _frame.CanGoBack; } }
public void GoForward() { _frame.GoForward(); }
public bool CanGoForward { get { return _frame.CanGoForward; } }
public void ClearHistory() { _frame.SetNavigationState("1,0"); }
public void Suspending() { NavigateFrom(true); }
public void Show(SettingsFlyout flyout, string parameter = null)
{
if (flyout == null)
throw new ArgumentNullException("flyout");
var viewmodel = flyout.DataContext as Common.ViewModelBase;
if (viewmodel != null)
viewmodel.OnNavigatedTo(parameter, NavigationMode.New, null);
flyout.Show();
}
public Type CurrentPageType { get { return _frame.CurrentPageType; } }
public string CurrentPageParam { get { return _frame.CurrentPageParam; } }
}
public class NavigationFacade
{
public NavigationFacade(Frame frame)
{
_frame = frame;
_navigatedEventHandlers = new List<EventHandler<NavigationEventArgs>>();
}
#region frame facade
readonly Frame _frame;
public bool Navigate(Type page, string parameter) { return _frame.Navigate(page, parameter); }
public void SetNavigationState(string state) { _frame.SetNavigationState(state); }
public string GetNavigationState() { return _frame.GetNavigationState(); }
public int BackStackDepth { get { return _frame.BackStackDepth; } }
public bool CanGoBack { get { return _frame.CanGoBack; } }
public void GoBack() { _frame.GoBack(); }
public bool CanGoForward { get { return _frame.CanGoForward; } }
public void GoForward() { _frame.GoForward(); }
public object Content { get { return _frame.Content; } }
public Type CurrentPageType { get; internal set; }
public string CurrentPageParam { get; internal set; }
public object GetValue(DependencyProperty dp) { return _frame.GetValue(dp); }
public void SetValue(DependencyProperty dp, object value) { _frame.SetValue(dp, value); }
public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
#endregion
readonly List<EventHandler<NavigationEventArgs>> _navigatedEventHandlers;
public event EventHandler<NavigationEventArgs> Navigated
{
add
{
if (!_navigatedEventHandlers.Contains(value))
{
_navigatedEventHandlers.Add(value);
if (_navigatedEventHandlers.Count == 1)
_frame.Navigated += FacadeNavigatedEventHandler;
}
}
remove
{
if (_navigatedEventHandlers.Contains(value))
{
_navigatedEventHandlers.Remove(value);
if (_navigatedEventHandlers.Count == 0)
_frame.Navigated -= FacadeNavigatedEventHandler;
}
}
}
void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Navigation.NavigationEventArgs e)
{
foreach (var handler in _navigatedEventHandlers)
{
var args = new NavigationEventArgs()
{
NavigationMode = e.NavigationMode,
Parameter = (e.Parameter == null) ? string.Empty : e.Parameter.ToString()
};
handler(this, args);
}
this.CurrentPageType = e.SourcePageType;
this.CurrentPageParam = e.Parameter as String;
}
readonly List<EventHandler> _navigatingEventHandlers = new List<EventHandler>();
public event EventHandler Navigating
{
add
{
if (!_navigatingEventHandlers.Contains(value))
{
_navigatingEventHandlers.Add(value);
if (_navigatingEventHandlers.Count == 1)
_frame.Navigating += FacadeNavigatingCancelEventHandler;
}
}
remove
{
if (_navigatingEventHandlers.Contains(value))
{
_navigatingEventHandlers.Remove(value);
if (_navigatingEventHandlers.Count == 0)
_frame.Navigating -= FacadeNavigatingCancelEventHandler;
}
}
}
private void FacadeNavigatingCancelEventHandler(object sender, NavigatingCancelEventArgs e)
{
foreach (var handler in _navigatingEventHandlers)
{
handler(this, new EventArgs());
}
}
}
public class NavigationEventArgs : EventArgs
{
public NavigationMode NavigationMode { get; set; }
public string Parameter { get; set; }
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Services/TileServices.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
namespace ActionCenterDemo.Services
{
public class TileServices
{
static public void SetBadgeCountOnTile(int count)
{
// Update the badge on the real tile
XmlDocument badgeXml = BadgeUpdateManager.GetTemplateContent(BadgeTemplateType.BadgeNumber);
XmlElement badgeElement = (XmlElement)badgeXml.SelectSingleNode("/badge");
badgeElement.SetAttribute("value", count.ToString());
BadgeNotification badge = new BadgeNotification(badgeXml);
BadgeUpdateManager.CreateBadgeUpdaterForApplication().Update(badge);
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/ViewModels/DetailPageViewModel.cs
================================================
using System;
using ActionCenterDemo.Common;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Navigation;
using Windows.UI.Xaml.Media;
using System.Diagnostics;
using Windows.UI.Notifications;
using ActionCenterDemo.Services;
namespace ActionCenterDemo.ViewModels
{
public class DetailPageViewModel : Common.ViewModelBase
{
private Repositories.MessageItemRepository _repository;
public DetailPageViewModel()
{
if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
LoadDesignData();
}
public override async void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<string, object> state)
{
Debug.WriteLine("In DetailPageViewModel OnNavigatedTo");
_repository = Repositories.MessageItemRepository.GetInstance();
await LoadRuntimeDataAsync(parameter);
// Since we are viewing this item, set its status to 'Read'
this.MessageItem.IsRead = true;
await _repository.UpdateAsync(this.MessageItem);
#region Remove corresponding item from Action Center
// Also remove it from the Action Center if it is there
//ToastNotificationManager.History.Remove(parameter);
#endregion
#region Sync Tile badge count with unread toasts count from Action Center
//// Set the Badge count on the tile
//var toasts = ToastNotificationManager.History.GetHistory();
//if (toasts != null)
//{
// var count = toasts.Count();
// // Sync up the count on the tile
// TileServices.SetBadgeCountOnTile(count);
//}
#endregion
}
private void LoadDesignData()
{
this.MessageItem = new Models.MessageItem { ID = "1", Body = "Design Data Body", Title = "Design Title", IsRead = false };
}
private async Task LoadRuntimeDataAsync(string parameter)
{
_repository.GetAllMessageItems();
this.MessageItem = _repository.Find(m => m.ID == parameter).FirstOrDefault();
}
private Models.MessageItem _messageItem;
public Models.MessageItem MessageItem
{
get { return _messageItem; }
set
{
Set(ref _messageItem, value);
}
}
public Common.Command GoBackCommand
{
get { return new Common.Command(() => { (App.Current as Common.ApplicationBase).NavigationService.GoBack(); }); }
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/ViewModels/MainPageViewModel.cs
================================================
using ActionCenterDemo.Models;
using ActionCenterDemo.Services;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Windows.ApplicationModel.Core;
using Windows.Data.Xml.Dom;
using Windows.UI.Core;
using Windows.UI.Notifications;
using Windows.UI.Xaml.Navigation;
namespace ActionCenterDemo.ViewModels
{
class MainPageViewModel : Common.ViewModelBase
{
public MainPageViewModel()
{
if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
{
LoadDesigntimeData();
}
else
{
this.PropertyChanged += (s, e) => { this.RefreshCommand.RaiseCanExecuteChanged(); };
}
}
public override async void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<string, object> state)
{
Debug.WriteLine("In MainPageViewModel OnNavigatedTo");
await LoadRuntimeDataAsync();
IsTaskRegistered();
}
private void LoadDesigntimeData()
{
this.MessageItems.Clear();
this.MessageItems.Add(new Models.MessageItem { ID = "1", Body = "Design Data Body", Title = "Design Title", IsRead = false });
this.MessageItems.Add(new Models.MessageItem { ID = "2", Body = "Design Data Body 2", Title = "Design Title 2", IsRead = true });
this.MessageItems.Add(new Models.MessageItem { ID = "3", Body = "Design Data Body 3", Title = "Design Title 3", IsRead = false });
this.MessageItems.Add(new Models.MessageItem { ID = "4", Body = "Design Data Body 4", Title = "Design Title 4", IsRead = true });
this.Selected = (this.MessageItems.Any()) ? MessageItems.First() : default(Models.MessageItem);
}
private Repositories.MessageItemRepository _repository;
private async Task LoadRuntimeDataAsync()
{
_repository = Repositories.MessageItemRepository.GetInstance();
_repository.LoadData();
this.MessageItems.Clear();
foreach (var messageItem in _repository.GetAllMessageItems())
{
this.MessageItems.Add(messageItem);
}
// Set the count on the simulated tile
int unreadCount = (from m in this.MessageItems
where !m.IsRead
select m).Count();
this.TileSimulationBadgeCount = unreadCount;
}
private Models.MessageItem _selected;
public Models.MessageItem Selected
{
get { return _selected; }
set
{
Set(ref _selected, value);
if (value != null)
{
this.Selected = null;
// navigate to details page
if (!Windows.ApplicationModel.DesignMode.DesignModeEnabled)
{
var nav = (App.Current as App).NavigationService;
nav.Navigate(typeof(Views.DetailPage), value.ID);
}
}
}
}
public ObservableCollection<Models.MessageItem> MessageItems { get; } = new ObservableCollection<Models.MessageItem>();
private bool _busy;
public bool Busy { get { return _busy; } set { Set(ref _busy, value); } }
private int _tileSimulationBadgeCount;
public int TileSimulationBadgeCount { get { return _tileSimulationBadgeCount; } set { Set(ref _tileSimulationBadgeCount, value); } }
private Common.Command _refreshCommand;
public Common.Command RefreshCommand
{
get
{
return _refreshCommand ?? (_refreshCommand = new Common.Command(async () =>
{
this.Busy = true;
await LoadRuntimeDataAsync();
this.Busy = false;
}, () => { return !this.Busy; }));
}
}
private Common.Command _deliverToastCommand;
public Common.Command DeliverToastCommand
{
get
{
return _deliverToastCommand ?? (_deliverToastCommand = new Common.Command(async () =>
{
this.Busy = true;
// Generate a new message data item - this
// Simulates a toast coming in from your cloud backend
var msgItem = new MessageItem()
{
ID = Guid.NewGuid().ToString().Split('-')[0].ToString(),
Title = "Hello Msg #" + System.Environment.TickCount,
Body = "This is a new message created at " + System.DateTime.Now.ToString("t"),
IsRead = false
};
// Send a toast notification to alert the user of the new item
DeliverToast(msgItem);
// Update the Main Tile
SetBadgeCountOnTileandSim();
// Save the new messageItem to our local storage
await _repository.AddAsync(msgItem);
// Update our list of MessageItems shown on our UI
await LoadRuntimeDataAsync();
this.Busy = false;
}, () => { return !this.Busy; }));
}
}
private void DeliverToast(MessageItem msgItem)
{
// Send the Toast Notification informing the user of a new message
ToastTemplateType toastTemplate = ToastTemplateType.ToastImageAndText01;
XmlDocument toastXml = ToastNotificationManager.GetTemplateContent(toastTemplate);
XmlNodeList toastTextElements = toastXml.GetElementsByTagName("text");
toastTextElements[0].AppendChild(toastXml.CreateTextNode(msgItem.Title));
IXmlNode toastNode = toastXml.SelectSingleNode("/toast");
((XmlElement)toastNode).SetAttribute("launch", "{\"type\":\"toast\",\"param1\":\"" + msgItem.ID + "\",\"param2\":\"0\"}");
ToastNotification toast = new ToastNotification(toastXml);
// Tag the Toast with the data item ID
// Note that Toasts sent from servers set the Tag through an HTTP Header
toast.Tag = msgItem.ID;
ToastNotificationManager.CreateToastNotifier().Show(toast);
}
private Common.Command _resetAllCountsCommand;
/// <summary>
/// Gets the ToastNotificationManager History and ensures the badge count
/// on the Tile simulation on the UI and on the actual Tile matches
/// the true count of unread notifications in Action Center
/// </summary>
public Common.Command ResetAllCountsCommand
{
get
{
return _resetAllCountsCommand ?? (_resetAllCountsCommand = new Common.Command(async () =>
{
this.Busy = true;
// Set count on Tile and on our Simulation
SetBadgeCountOnTileandSim();
// Set 'Read' status of local data items to match unactioned Notifications
foreach (var item in MessageItems)
{
item.IsRead = true;
}
var toasts = ToastNotificationManager.History.GetHistory();
if (toasts != null)
{
foreach (var item in toasts)
{
var launchAttr = item.Content.SelectSingleNode("/toast/@launch").NodeValue.ToString();
dynamic d = Newtonsoft.Json.Linq.JObject.Parse(launchAttr);
var msgID = (string)d.param1;
var dataItem = MessageItems.Where(p => p.ID == msgID).SingleOrDefault();
if (dataItem != null)
{
dataItem.IsRead = false;
}
}
}
await LoadRuntimeDataAsync();
this.Busy = false;
}, () => { return !this.Busy; }));
}
}
private void SetBadgeCountOnTileandSim()
{
// Get the toast history from Notification Center
var toasts = ToastNotificationManager.History.GetHistory();
if (toasts != null)
{
var count = toasts.Count();
// Sync up the count on the tile
TileServices.SetBadgeCountOnTile(count);
//...and on our simulation on the UI
this.TileSimulationBadgeCount = count;
}
}
#region REGISTER_BG_TASK
private Common.Command _registerBGTaskCommand;
public Common.Command RegisterBGTaskCommand
{
get
{
return _registerBGTaskCommand ?? (_registerBGTaskCommand = new Common.Command(async () =>
{
this.Busy = true;
await Register();
this.Busy = false;
}, () => { return !this.Busy; }));
}
}
private readonly string ActionCenterHistoryChangedTaskName = "ActionCenterHistoryChangedTask";
public async Task Register()
{
if (!IsTaskRegistered())
{
var builder = new BackgroundTaskBuilder();
builder.Name = ActionCenterHistoryChangedTaskName;
builder.TaskEntryPoint = "ActionCenterHistoryChangedTask.ActionCenterChangedBackgroundTask";
builder.SetTrigger(new ToastNotificationHistoryChangedTrigger());
BackgroundExecutionManager.RemoveAccess();
BackgroundAccessStatus x = await BackgroundExecutionManager.RequestAccessAsync();
BackgroundTaskRegistration mytask = builder.Register();
mytask.Completed += Mytask_Completed;
}
}
private async void Mytask_Completed(BackgroundTaskRegistration sender, BackgroundTaskCompletedEventArgs args)
{
// Background task has completed - refresh our data
await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(
CoreDispatcherPriority.Normal,
async () => await LoadRuntimeDataAsync()
);
}
public bool IsTaskRegistered()
{
var taskRegistered = false;
var entry = BackgroundTaskRegistration.AllTasks.FirstOrDefault(
kvp => kvp.Value.Name == ActionCenterHistoryChangedTaskName);
if (entry.Value != null)
{
taskRegistered = true;
// Hook up the completed event handler again
entry.Value.Completed += Mytask_Completed;
}
return taskRegistered;
}
#endregion
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Views/DetailPage.xaml
================================================
<Page
x:Class="ActionCenterDemo.Views.DetailPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ActionCenterDemo.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:viewmodels="using:ActionCenterDemo.ViewModels"
mc:Ignorable="d">
<Page.DataContext>
<viewmodels:DetailPageViewModel />
</Page.DataContext>
<Grid Background="Black">
<StackPanel Orientation="Horizontal" VerticalAlignment="Top" Margin="12,12,0,0">
<Button Style="{StaticResource NavigationBackButtonNormalStyle}" VerticalAlignment="Center" Command="{Binding GoBackCommand}" />
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{Binding MessageItem.Title, FallbackValue='Not found'}" Margin="20,0" />
</StackPanel>
<TextBlock Style="{StaticResource BodyTextBlockStyle}" FontSize="20" Text="{Binding MessageItem.Body}" Margin="60, 100" />
</Grid>
</Page>
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Views/DetailPage.xaml.cs
================================================
using Windows.UI.Xaml.Controls;
namespace ActionCenterDemo.Views
{
public sealed partial class DetailPage : Page
{
public DetailPage()
{
this.InitializeComponent();
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Views/MainPage.xaml
================================================
<Page
x:Class="ActionCenterDemo.Views.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ActionCenterDemo.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:ActionCenterDemo.ViewModels"
mc:Ignorable="d" RequestedTheme="Dark">
<Page.DataContext>
<vm:MainPageViewModel />
</Page.DataContext>
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<RelativePanel>
<TextBlock x:Name="InfoTextBlock" HorizontalAlignment="Left" Height="50" Margin="20,20,0,0" TextWrapping="Wrap"
Text="What the tile should look like on Start right now" VerticalAlignment="Top"
Width="140" FontSize="12" TextAlignment="Center"/>
<Canvas x:Name="BadgeCanvas" Margin="10,60,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="150">
<Rectangle Fill="#FF03AEAE" HorizontalAlignment="Left" Height="150" Stroke="Black" VerticalAlignment="Top" Width="150"/>
<Image HorizontalAlignment="Left" Height="134" VerticalAlignment="Top" Width="150" Source="ms-appx:///Assets/Hen-01.png" Canvas.Top="16"/>
<Ellipse x:Name="circle" Fill="Black" HorizontalAlignment="Left" Height="29" Stroke="Black"
VerticalAlignment="Top" Width="29" Canvas.Left="107" Canvas.Top="13"
Visibility="{Binding TileSimulationBadgeCount, Converter={StaticResource CountToVisibilityConverter}}"/>
<TextBlock x:Name="BadgeCount" HorizontalAlignment="Center" Height="16"
TextWrapping="Wrap" Text="{Binding TileSimulationBadgeCount}" Foreground="White"
VerticalAlignment="Center" Width="29" FontSize="16" TextAlignment="Center"
Canvas.Left="106" Canvas.Top="19"
Visibility="{Binding TileSimulationBadgeCount, Converter={StaticResource CountToVisibilityConverter}}"/>
</Canvas>
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Top"
RelativePanel.RightOf="BadgeCanvas" Margin="4,60,0,0">
<Button x:Name="DeliverToastButton" Content="Send a toast"
HorizontalAlignment="Center" VerticalAlignment="Top" Width="140" Height="40" FontSize="12"
Command="{Binding DeliverToastCommand}" />
<Button x:Name="button1" Content="Reset all"
HorizontalAlignment="Center" Margin="0,10,0,0" VerticalAlignment="Top" Width="140" Height="40" FontSize="12"
Command="{Binding ResetAllCountsCommand}"/>
<Button x:Name="button3" Content="Register Action Center 
Changed Task"
HorizontalAlignment="Center" Margin="0,10,0,0" VerticalAlignment="Top" Width="140" FontSize="12"
Command="{Binding RegisterBGTaskCommand}"/>
</StackPanel>
</RelativePanel>
<GridView ItemsSource="{Binding MessageItems}"
SelectedItem="{Binding Selected, Mode=TwoWay}"
Margin="0,220,0,0" Padding="10,0,0,0">
<GridView.ItemTemplate>
<DataTemplate >
<Grid Height="80" Width="240" >
<StackPanel VerticalAlignment="Bottom">
<StackPanel.Background>
<SolidColorBrush Color="{Binding IsRead, Converter={StaticResource BoolToColorConverter}}" Opacity=".5" />
</StackPanel.Background>
<TextBlock Style="{StaticResource BodyTextBlockStyle}" FontSize="12"
Margin="5" MaxLines="1" TextTrimming="CharacterEllipsis"
Foreground="White" Text="{Binding ID}" />
<TextBlock Style="{StaticResource BodyTextBlockStyle}" FontSize="12"
Margin="5" MaxLines="1" TextTrimming="CharacterEllipsis"
Foreground="White" Text="{Binding Title}" />
<TextBlock Style="{StaticResource BodyTextBlockStyle}" FontSize="12"
Margin="5" MaxLines="1" TextTrimming="CharacterEllipsis"
Foreground="White" Text="{Binding Body}" />
</StackPanel>
</Grid>
</DataTemplate>
</GridView.ItemTemplate>
</GridView>
</Grid>
</Page>
================================================
FILE: ActionCenterDemo/ActionCenterDemo/Views/MainPage.xaml.cs
================================================
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Data.Xml.Dom;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Notifications;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace ActionCenterDemo.Views
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterDemo/packages.config
================================================
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CommonServiceLocator" version="1.3" targetFramework="win453" />
<package id="MvvmLight" version="5.0.2.0" targetFramework="win453" />
<package id="MvvmLightLibs" version="5.0.2.0" targetFramework="win453" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="win453" />
</packages>
================================================
FILE: ActionCenterDemo/ActionCenterDemo.sln
================================================
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.22823.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActionCenterDemo", "ActionCenterDemo\ActionCenterDemo.csproj", "{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActionCenterHistoryChangedTask", "ActionCenterHistoryChangedTask\ActionCenterHistoryChangedTask.csproj", "{5680FB19-C161-46D2-A1AE-115954E020CF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|ARM.ActiveCfg = Debug|ARM
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|ARM.Build.0 = Debug|ARM
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|ARM.Deploy.0 = Debug|ARM
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|x64.ActiveCfg = Debug|x64
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|x64.Build.0 = Debug|x64
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|x64.Deploy.0 = Debug|x64
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|x86.ActiveCfg = Debug|x86
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|x86.Build.0 = Debug|x86
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Debug|x86.Deploy.0 = Debug|x86
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|ARM.ActiveCfg = Release|ARM
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|ARM.Build.0 = Release|ARM
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|ARM.Deploy.0 = Release|ARM
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|x64.ActiveCfg = Release|x64
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|x64.Build.0 = Release|x64
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|x64.Deploy.0 = Release|x64
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|x86.ActiveCfg = Release|x86
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|x86.Build.0 = Release|x86
{ED4B4052-AE0D-44FA-B8C2-FE47919E9A90}.Release|x86.Deploy.0 = Release|x86
{5680FB19-C161-46D2-A1AE-115954E020CF}.Debug|ARM.ActiveCfg = Debug|ARM
{5680FB19-C161-46D2-A1AE-115954E020CF}.Debug|ARM.Build.0 = Debug|ARM
{5680FB19-C161-46D2-A1AE-115954E020CF}.Debug|x64.ActiveCfg = Debug|x64
{5680FB19-C161-46D2-A1AE-115954E020CF}.Debug|x64.Build.0 = Debug|x64
{5680FB19-C161-46D2-A1AE-115954E020CF}.Debug|x86.ActiveCfg = Debug|x86
{5680FB19-C161-46D2-A1AE-115954E020CF}.Debug|x86.Build.0 = Debug|x86
{5680FB19-C161-46D2-A1AE-115954E020CF}.Release|ARM.ActiveCfg = Release|ARM
{5680FB19-C161-46D2-A1AE-115954E020CF}.Release|ARM.Build.0 = Release|ARM
{5680FB19-C161-46D2-A1AE-115954E020CF}.Release|x64.ActiveCfg = Release|x64
{5680FB19-C161-46D2-A1AE-115954E020CF}.Release|x64.Build.0 = Release|x64
{5680FB19-C161-46D2-A1AE-115954E020CF}.Release|x86.ActiveCfg = Release|x86
{5680FB19-C161-46D2-A1AE-115954E020CF}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
================================================
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/ActionCenterChangedBackgroundTask.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
namespace ActionCenterHistoryChangedTask
{
// Background task for a ToastNotificationHistoryChangedTrigger
public sealed class ActionCenterChangedBackgroundTask : IBackgroundTask
{
public void Run(IBackgroundTaskInstance taskInstance)
{
var toasts = ToastNotificationManager.History.GetHistory();
if (toasts != null)
{
var count = toasts.Count();
XmlDocument badgeXml = BadgeUpdateManager.GetTemplateContent(BadgeTemplateType.BadgeNumber);
XmlElement badgeElement = (XmlElement)badgeXml.SelectSingleNode("/badge");
badgeElement.SetAttribute("value", count.ToString());
BadgeNotification badge = new BadgeNotification(badgeXml);
BadgeUpdateManager.CreateBadgeUpdaterForApplication().Update(badge);
// Update the app data
UpdateAppData(toasts);
taskInstance.Progress = 100;
}
}
private static void UpdateAppData(IReadOnlyList<ToastNotification> toasts)
{
// Update the apps data as well
var messageItemRepository = ActionCenterDemo.Repositories.MessageItemRepository.GetInstance();
// Set all to 'Read' initially
foreach (var messageItem in messageItemRepository.GetAllMessageItems())
{
messageItem.IsRead = true;
}
// Then reset each one still in the list to 'Unread'
foreach (var item in toasts)
{
var launchAttr = item.Content.SelectSingleNode("/toast/@launch").NodeValue.ToString();
var toastParams = Newtonsoft.Json.JsonConvert.DeserializeObject<ToastParams>(launchAttr);
var msgID = toastParams.param1;
var messageItem = messageItemRepository.Find(p => p.ID == msgID).FirstOrDefault();
if (messageItem != null)
{
messageItem.IsRead = false;
}
}
// Store changes
messageItemRepository.SaveChanges();
}
}
}
================================================
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/ActionCenterHistoryChangedTask.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5680FB19-C161-46D2-A1AE-115954E020CF}</ProjectGuid>
<OutputType>winmdobj</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ActionCenterHistoryChangedTask</RootNamespace>
<AssemblyName>ActionCenterHistoryChangedTask</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10069.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10069.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<PlatformTarget>ARM</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<PlatformTarget>ARM</PlatformTarget>
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\ActionCenterDemo\Repositories\MessageItemRepository.cs">
<Link>MessageItemRepository.cs</Link>
</Compile>
<Compile Include="ActionCenterChangedBackgroundTask.cs" />
<Compile Include="MessageItem.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ToastParams.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\netcore45\Newtonsoft.Json.dll</HintPath>
</Reference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/MessageItem.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ActionCenterDemo.Models
{
class MessageItem
{
public string ID { get; set; }
public string Title { get; set; }
public string Body { get; set; }
public bool IsRead { get; set; }
}
}
================================================
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/Properties/AssemblyInfo.cs
================================================
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ActionCenterHistoryChangedTask")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ActionCenterHistoryChangedTask")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
================================================
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/ToastParams.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ActionCenterHistoryChangedTask
{
class ToastParams
{
public string type { get; set; }
public string param1 { get; set; }
public string param2 { get; set; }
}
}
================================================
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/packages.config
================================================
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="win81" />
</packages>
================================================
FILE: Adaptive UI/Blank10/Views/MainPage.xaml
================================================
<Page
x:Class="Blank10.Views.MainPage"
xmlns:local="using:Blank10.Views"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:Blank10.ViewModels"
mc:Ignorable="d">
<RelativePanel Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="VisualStateGroup">
<VisualState x:Name="VisualState000min">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="0" />
</VisualState.StateTriggers>
<VisualState.Setters>
<Setter Target="MyText01.FontSize" Value="24" />
<Setter Target="MyImage.Stretch" Value="UniformToFill" />
<Setter Target="MyImage.Height" Value="150" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="VisualState500min">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="501" />
</VisualState.StateTriggers>
<VisualState.Setters>
<Setter Target="MyText01.FontSize" Value="24" />
<Setter Target="MyText02.FontSize" Value="11" />
<Setter Target="MyImage.Width" Value="150" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="VisualState800min">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="800" />
</VisualState.StateTriggers>
</VisualState>
<VisualState x:Name="VisualState1000min">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="1000" />
</VisualState.StateTriggers>
<VisualState.Setters>
<Setter Target="MyImage.Width" Value="350" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<TextBlock x:Name="Text00" Margin="12,12,12,0"
Foreground="SteelBlue" Text="Screen size" />
<Image Source="ms-appx:///Images/cat.jpg" Margin="12,12,0,0"
x:Name="MyImage" Stretch="Uniform"
RelativePanel.Below="Text00" Width="225"
RelativePanel.AlignLeftWith="Text00" />
<TextBlock FontSize="32" TextWrapping="Wrap"
Foreground="Goldenrod" x:Name="MyText01"
RelativePanel.RightOf="MyImage" Margin="12,12,12,0"
RelativePanel.AlignTopWith="MyImage">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium
</TextBlock>
<ScrollViewer x:Name="MyText02"
VerticalScrollBarVisibility="Auto"
RelativePanel.Below="MyText01" Margin="12"
RelativePanel.AlignLeftWith="MyText01">
<RichTextBlock FontSize="18" TextWrapping="Wrap" Foreground="DimGray">
<Paragraph LineStackingStrategy="MaxHeight">
<InlineUIContainer>
<Grid Height="50" Width="50" Margin="0,0,12,0" Background="SteelBlue">
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="28">L</TextBlock>
</Grid>
</InlineUIContainer>
<Run>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</Run>
</Paragraph>
<Paragraph/>
<Paragraph Margin="12,0,0,0" x:Name="SnappointText">
<Run Text="Snappoints" FontWeight="Black" />
<LineBreak />
<Run Text="➤ 0-500 epx" />
<LineBreak />
<Run Text="➤ 500-800 epx" />
<LineBreak />
<Run Text="➤ 800-1000 epx" />
<LineBreak />
<Run Text="➤ 1000+ epx" />
</Paragraph>
<Paragraph/>
<Paragraph>
<Run>
Sit voluptatem accusantium doloremque laudantium,
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae
dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam
est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam
eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad
minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid
ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse
quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
</Run>
</Paragraph>
</RichTextBlock>
</ScrollViewer>
</RelativePanel>
</Page>
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/App.xaml
================================================
<Application
x:Class="VisibleBoundsDemo.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:VisibleBoundsDemo">
</Application>
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/App.xaml.cs
================================================
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
using Windows.UI.Xaml.Navigation;
// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=391641
namespace VisibleBoundsDemo
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
public sealed partial class App : Application
{
private TransitionCollection transitions;
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
public App()
{
this.InitializeComponent();
this.Suspending += this.OnSuspending;
}
/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used when the application is launched to open a specific file, to display
/// search results, and so forth.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
#if DEBUG_EFRC
if (System.Diagnostics.Debugger.IsAttached)
{
this.DebugSettings.EnableFrameRateCounter = true;
}
#endif
Frame rootFrame = Window.Current.Content as Frame;
// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (rootFrame == null)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame = new Frame();
// TODO: change this value to a cache size that is appropriate for your application
rootFrame.CacheSize = 1;
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
// TODO: Load state from previously suspended application
}
// Place the frame in the current Window
Window.Current.Content = rootFrame;
}
if (rootFrame.Content == null)
{
// Removes the turnstile navigation for startup.
if (rootFrame.ContentTransitions != null)
{
this.transitions = new TransitionCollection();
foreach (var c in rootFrame.ContentTransitions)
{
this.transitions.Add(c);
}
}
rootFrame.ContentTransitions = null;
rootFrame.Navigated += this.RootFrame_FirstNavigated;
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
if (!rootFrame.Navigate(typeof(MainPage), e.Arguments))
{
throw new Exception("Failed to create initial page");
}
}
// Ensure the current window is active
Window.Current.Activate();
}
/// <summary>
/// Restores the content transitions after the app has launched.
/// </summary>
/// <param name="sender">The object where the handler is attached.</param>
/// <param name="e">Details about the navigation event.</param>
private void RootFrame_FirstNavigated(object sender, NavigationEventArgs e)
{
var rootFrame = sender as Frame;
rootFrame.ContentTransitions = this.transitions ?? new TransitionCollection() { new NavigationThemeTransition() };
rootFrame.Navigated -= this.RootFrame_FirstNavigated;
}
/// <summary>
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
// TODO: Save application state and stop any background activity
deferral.Complete();
}
}
}
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/MainPage.xaml
================================================
<Page
x:Class="VisibleBoundsDemo.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:VisibleBoundsDemo"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:triggers="using:VisibleBoundsDemo.Triggers"
mc:Ignorable="d">
<Page.Background>
<SolidColorBrush Color="Green"/>
</Page.Background>
<Page.BottomAppBar>
<CommandBar x:Name="commandBar" >
<AppBarButton Icon="Accept" Label="appbarbutton"/>
<AppBarButton Icon="Cancel" Label="appbarbutton"/>
</CommandBar>
</Page.BottomAppBar>
<Grid Background="CadetBlue">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup>
<VisualState>
<VisualState.StateTriggers>
<triggers:DeviceFamilyTrigger DeviceFamily="Desktop" />
</VisualState.StateTriggers>
<VisualState.Setters>
<Setter Target="StatusBarControls.Visibility" Value="Collapsed"/>
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ListView>
<x:String>One</x:String>
<x:String>Two</x:String>
<x:String>Three</x:String>
<x:String>Four</x:String>
<x:String>Five</x:String>
<x:String>Six</x:String>
<x:String>Seven</x:String>
<x:String>Eight</x:String>
<x:String>Nine</x:String>
<x:String>Ten</x:String>
<x:String>Eleven</x:String>
<x:String>Twelve</x:String>
<x:String>Thirteen</x:String>
<x:String>Fourteen</x:String>
<x:String>Fifteen</x:String>
<x:String>Sixteen</x:String>
<x:String>Seventeen</x:String>
<x:String>Eighteen</x:String>
<x:String>Nineteen</x:String>
<x:String>Twenty</x:String>
<CheckBox Content="CheckBox" Height="100" Width="100"/>
</ListView>
<Grid Margin="75,25,0,0">
<TextBlock x:Name="BoundsHeader" HorizontalAlignment="Left" TextWrapping="Wrap" Text="Visible Bounds:" VerticalAlignment="Top" FontSize="{StaticResource TextStyleLargeFontSize}"/>
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Top:"
FontSize="{StaticResource TextStyleLargeFontSize}"
Margin="0,25,0,0"/>
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Bottom:" VerticalAlignment="Top"
Margin="0,50,0,0" FontSize="{StaticResource TextStyleLargeFontSize}"/>
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Height:" VerticalAlignment="Top"
Margin="0,75,0,0" FontSize="{StaticResource TextStyleLargeFontSize}"/>
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Width:" VerticalAlignment="Top"
Margin="0,100,0,0" FontSize="{StaticResource TextStyleLargeFontSize}"/>
<TextBlock x:Name="TopTextBox" HorizontalAlignment="Left" TextWrapping="Wrap" Text="0.0" VerticalAlignment="Top" Margin="100,25,0,0" FontSize="{StaticResource TextStyleLargeFontSize}"/>
<TextBlock x:Name="BottomTextBox" HorizontalAlignment="Left" TextWrapping="Wrap" Text="0.0" VerticalAlignment="Top" Margin="100,50,0,0" FontSize="{StaticResource TextStyleLargeFontSize}"/>
<TextBlock x:Name="HeightTextBox" HorizontalAlignment="Left" TextWrapping="Wrap" Text="0.0" VerticalAlignment="Top" Margin="100,75,0,0" FontSize="{StaticResource TextStyleLargeFontSize}"/>
<TextBlock x:Name="WidthTextBox" HorizontalAlignment="Left" TextWrapping="Wrap" Text="0.0" VerticalAlignment="Top" Margin="100,100,0,0" FontSize="{StaticResource TextStyleLargeFontSize}"/>
</Grid>
<StackPanel HorizontalAlignment="Left" Margin="75,164,0,0" VerticalAlignment="Top" >
<RadioButton x:Name="ShowAppBarRadioButton" Content="Show AppBar" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsChecked="True" Checked="RadioButton_Checked"/>
<RadioButton x:Name="ShowOpaqueAppBarRadioButton" Content="Show Transparent AppBar" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Checked="RadioButton_Checked"/>
<RadioButton x:Name="HideAppBarRadioButton" Content="Hide AppBar" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Checked="RadioButton_Checked"/>
</StackPanel>
<StackPanel Margin="75,274,0,0">
<CheckBox x:Name="ExtendViewCheckBox" Content="Extend View into TitleBar" VerticalAlignment="Top"
Checked="ExtendViewButton_Checked" Unchecked="ExtendViewButton_Checked"/>
<CheckBox x:Name="ColourTitleBarButtonsCheckBox" Content="Change TitleBar appearance" VerticalAlignment="Top"
Checked="ColourTitleBarButtons_Checked" Unchecked="ColourTitleBarButtons_Checked"/>
</StackPanel>
<StackPanel x:Name="StatusBarControls" Orientation="Vertical" Margin="75,350,0,0" Visibility="Visible">
<CheckBox x:Name="StatusBarBackgroundCheckBox" Content="Set StatusBar Background" Checked="StatusBarBackgroundCheckBox_Checked" Unchecked="StatusBarBackgroundCheckBox_Unchecked"/>
<CheckBox x:Name="StatusBarHiddenCheckBox" Content="Set StatusBar Hidden" Checked="StatusBarHiddenCheckBox_Checked" Unchecked="StatusBarHiddenCheckBox_Unchecked"/>
</StackPanel>
</Grid>
</Page>
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/MainPage.xaml.cs
================================================
using System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace VisibleBoundsDemo
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainPage : Page
{
private Color? DefaultTitleBarButtonsBGColor;
private Color? DefaultTitleBarBGColor;
public MainPage()
{
this.InitializeComponent();
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().VisibleBoundsChanged += MainPage_VisibleBoundsChanged;
var viewTitleBar = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar;
DefaultTitleBarBGColor = viewTitleBar.BackgroundColor;
DefaultTitleBarButtonsBGColor = viewTitleBar.ButtonBackgroundColor;
}
void MainPage_VisibleBoundsChanged(Windows.UI.ViewManagement.ApplicationView sender, object args)
{
ReportVisibleBounds();
}
/// <summary>
/// Invoked when this page is about to be displayed in a Frame.
/// </summary>
/// <param name="e">Event data that describes how this page was reached.
/// This parameter is typically used to configure the page.</param>
protected override void OnNavigatedTo(NavigationEventArgs e)
{
ReportVisibleBounds();
}
private void ReportVisibleBounds()
{
var vb = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().VisibleBounds;
TopTextBox.Text = String.Format("{0:0.000}", vb.Top);
BottomTextBox.Text = String.Format("{0:0.000}", vb.Bottom);
HeightTextBox.Text = String.Format("{0:0.000}", vb.Height);
WidthTextBox.Text = String.Format("{0:0.000}", vb.Width);
}
private void RadioButton_Checked(object sender, RoutedEventArgs e)
{
// Bottom AppBar shows on Desktop and Mobile
if (ShowAppBarRadioButton != null)
{
if (ShowAppBarRadioButton.IsChecked.HasValue && (ShowAppBarRadioButton.IsChecked.Value == true))
{
commandBar.Visibility = Windows.UI.Xaml.Visibility.Visible;
commandBar.Opacity = 1;
}
else
{
commandBar.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
}
}
if (ShowOpaqueAppBarRadioButton != null)
{
if (ShowOpaqueAppBarRadioButton.IsChecked.HasValue && (ShowOpaqueAppBarRadioButton.IsChecked.Value == true))
{
commandBar.Visibility = Windows.UI.Xaml.Visibility.Visible;
commandBar.Background.Opacity = 0;
}
else
{
commandBar.Background.Opacity = 1;
}
}
}
private void StatusBarHiddenCheckBox_Checked(object sender, RoutedEventArgs e)
{
// StatusBar is Mobile only
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
var ignore = Windows.UI.ViewManagement.StatusBar.GetForCurrentView().HideAsync();
}
}
private void StatusBarHiddenCheckBox_Unchecked(object sender, RoutedEventArgs e)
{
// StatusBar is Mobile only
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
var ignore = Windows.UI.ViewManagement.StatusBar.GetForCurrentView().ShowAsync();
}
}
private void StatusBarBackgroundCheckBox_Checked(object sender, RoutedEventArgs e)
{
// StatusBar is Mobile only
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
Windows.UI.ViewManagement.StatusBar.GetForCurrentView().BackgroundColor = Windows.UI.Colors.Blue;
Windows.UI.ViewManagement.StatusBar.GetForCurrentView().BackgroundOpacity = 1;
}
}
private void StatusBarBackgroundCheckBox_Unchecked(object sender, RoutedEventArgs e)
{
// StatusBar is Mobile only
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
Windows.UI.ViewManagement.StatusBar.GetForCurrentView().BackgroundOpacity = 0;
}
}
private void ExtendViewButton_Checked(object sender, RoutedEventArgs e)
{
// You can extend your view into the TitleBar.
// Has no effect on Mobile or when FullScreen on tablet, but has effect when running windowed on Desktop
bool extendView = ExtendViewCheckBox.IsChecked.HasValue && (ExtendViewCheckBox.IsChecked.Value == true) ? true : false;
Windows.ApplicationModel.Core.CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = extendView;
}
private void ColourTitleBarButtons_Checked(object sender, RoutedEventArgs e)
{
// You can change properties of the TitleBar.
// Has no effect on Mobile or when FullScreen on tablet since there is no TitleBar visible,
// but has effect when running windowed on Desktop
var viewTitleBar = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar;
if (ColourTitleBarButtonsCheckBox.IsChecked.HasValue && (ColourTitleBarButtonsCheckBox.IsChecked.Value == true))
{
viewTitleBar.ButtonBackgroundColor = Colors.Yellow;
viewTitleBar.BackgroundColor = Colors.Transparent;
}
else
{
viewTitleBar.ButtonBackgroundColor = DefaultTitleBarButtonsBGColor;
viewTitleBar.BackgroundColor = DefaultTitleBarBGColor;
}
}
}
}
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/Package.appxmanifest
================================================
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity Name="5dcb4604-c7a0-4bc9-97a1-3bde63a00001"
Publisher="CN=Andy"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="5dcb4604-c7a0-4bc9-97a1-3bde63a00001" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>VisibleBoundsDemo</DisplayName>
<PublisherDisplayName>Andy</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10069.0" MaxVersionTested="10.0.10069.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="VisibleBoundsDemo.App">
<uap:VisualElements
DisplayName="VisibleBoundsDemo"
Square150x150Logo="Assets\Logo.png"
Square44x44Logo="Assets\SmallLogo.png"
Description="VisibleBoundsDemo"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\WideLogo.png" Square71x71Logo="Assets\Square71x71Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png"/>
<uap:ApplicationView MinWidth="width320"/> <!--Used in XAML Designer. DO NOT REMOVE-->
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClientServer" />
</Capabilities>
</Package>
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/Properties/AssemblyInfo.cs
================================================
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("VisibleBoundsDemo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("VisibleBoundsDemo")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/Triggers/DeviceFamilyTrigger.cs
================================================
using Windows.UI.Xaml;
namespace VisibleBoundsDemo.Triggers
{
public class DeviceFamilyTrigger : StateTriggerBase
{
//private variables
private string _deviceFamily;
//Public property
public string DeviceFamily
{
get
{
return _deviceFamily;
}
set
{
_deviceFamily = value;
var qualifiers = Windows.ApplicationModel.Resources.Core.ResourceContext.GetForCurrentView().QualifierValues;
if (qualifiers.ContainsKey("DeviceFamily"))
SetActive(qualifiers["DeviceFamily"] == _deviceFamily);
else
SetActive(false);
}
}
}
}
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/VisibleBoundsDemo.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{76EA5674-92ED-4330-892A-C99BF51E1E18}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>VisibleBoundsDemo</RootNamespace>
<AssemblyName>VisibleBoundsDemo</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10069.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10069.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<EnableDotNetNativeCompatibleProfile>true</EnableDotNetNativeCompatibleProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<SDKReference Include="WindowsDesktop, Version=10.0.10069.0">
<Name>Microsoft Desktop Extension SDK for Universal App Platform</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.0.1">
<Name>Microsoft Mobile Extension SDK for Universal App Platform</Name>
</SDKReference>
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Triggers\DeviceFamilyTrigger.cs" />
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Logo.scale-240.png" />
<Content Include="Assets\SmallLogo.scale-240.png" />
<Content Include="Assets\SplashScreen.scale-240.png" />
<Content Include="Assets\Square71x71Logo.scale-240.png" />
<Content Include="Assets\StoreLogo.scale-240.png" />
<Content Include="Assets\WideLogo.scale-240.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo.sln
================================================
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.22823.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisibleBoundsDemo", "VisibleBoundsDemo\VisibleBoundsDemo.csproj", "{76EA5674-92ED-4330-892A-C99BF51E1E18}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|x86 = Debug|x86
Release|ARM = Release|ARM
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Debug|ARM.ActiveCfg = Debug|ARM
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Debug|ARM.Build.0 = Debug|ARM
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Debug|ARM.Deploy.0 = Debug|ARM
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Debug|x86.ActiveCfg = Debug|x86
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Debug|x86.Build.0 = Debug|x86
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Debug|x86.Deploy.0 = Debug|x86
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Release|ARM.ActiveCfg = Release|ARM
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Release|ARM.Build.0 = Release|ARM
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Release|ARM.Deploy.0 = Release|ARM
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Release|x86.ActiveCfg = Release|x86
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Release|x86.Build.0 = Release|x86
{76EA5674-92ED-4330-892A-C99BF51E1E18}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
================================================
FILE: AdaptiveUI/AdaptiveUI/AdaptiveUI-Blank.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AdaptiveUI</RootNamespace>
<AssemblyName>AdaptiveUI</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10069.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10069.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<EnableDotNetNativeCompatibleProfile>true</EnableDotNetNativeCompatibleProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>AdaptiveUI_TemporaryKey.pfx</PackageCertificateKeyFile>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\AutoNavButton.cs" />
<Compile Include="Extensions\WeakEvent.cs" />
<Compile Include="Model\SampleInfo.cs" />
<Compile Include="Triggers\InteractionModeTrigger.cs" />
<Compile Include="Views\ApiInformationPage.xaml.cs">
<DependentUpon>ApiInformationPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Triggers\ApiInformationTrigger.cs" />
<Compile Include="Triggers\ControlSizeTrigger.cs" />
<Compile Include="Triggers\DeviceFamilyTrigger.cs" />
<Compile Include="Triggers\InputTypeTrigger.cs" />
<Compile Include="Triggers\NetworkAvailableStateTrigger.cs" />
<Compile Include="Triggers\OrientationTrigger.cs" />
<Compile Include="Views\OrientationPage.xaml.cs">
<DependentUpon>OrientationPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\WindowSizePage.xaml.cs">
<DependentUpon>WindowSizePage.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="AdaptiveUI_TemporaryKey.pfx" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\BirdsTall.jpg" />
<Content Include="Assets\BirdsWide.jpg" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\Logo.scale-100.png" />
<Content Include="Assets\SmallLogo.scale-100.png" />
<Content Include="Assets\SplashScreen.scale-100.png" />
<Content Include="Assets\StoreLogo.scale-100.png" />
<Content Include="Assets\WideLogo.scale-100.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="Themes\Generic.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\ApiInformationPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MainPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\OrientationPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\WindowSizePage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<SDKReference Include="WindowsMobile, Version=10.0.0.1">
<Name>Microsoft Mobile Extension SDK for Universal App Platform</Name>
</SDKReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: AdaptiveUI/AdaptiveUI/AdaptiveUI.sln
================================================
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.22609.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdaptiveUI", "AdaptiveUI.csproj", "{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|ARM.ActiveCfg = Debug|ARM
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|ARM.Build.0 = Debug|ARM
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|ARM.Deploy.0 = Debug|ARM
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|x64.ActiveCfg = Debug|x64
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|x64.Build.0 = Debug|x64
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|x64.Deploy.0 = Debug|x64
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|x86.ActiveCfg = Debug|x86
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|x86.Build.0 = Debug|x86
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Debug|x86.Deploy.0 = Debug|x86
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|Any CPU.Build.0 = Release|Any CPU
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|Any CPU.Deploy.0 = Release|Any CPU
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|ARM.ActiveCfg = Release|ARM
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|ARM.Build.0 = Release|ARM
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|ARM.Deploy.0 = Release|ARM
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|x64.ActiveCfg = Release|x64
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|x64.Build.0 = Release|x64
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|x64.Deploy.0 = Release|x64
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|x86.ActiveCfg = Release|x86
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|x86.Build.0 = Release|x86
{B50A5A2D-3AAE-4AB2-9ED0-B64189A7AFE7}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
================================================
FILE: AdaptiveUI/AdaptiveUI/App.xaml
================================================
<Application
x:Class="AdaptiveUI.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:AdaptiveUI">
</Application>
================================================
FILE: AdaptiveUI/AdaptiveUI/App.xaml.cs
================================================
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using AdaptiveUI.Views;
// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=402347&clcid=0x409
namespace AdaptiveUI
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial class App : Application
{
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
public App()
{
this.InitializeComponent();
this.Suspending += OnSuspending;
}
/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used such as when the application is launched to open a specific file.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
Frame rootFrame = Window.Current.Content as Frame;
// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (rootFrame == null)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame = new Frame();
// Set the default language
rootFrame.Language = Windows.Globalization.ApplicationLanguages.Languages[0];
rootFrame.NavigationFailed += OnNavigationFailed;
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
//TODO: Load state from previously suspended application
}
// Place the frame in the current Window
Window.Current.Content = rootFrame;
}
if (rootFrame.Content == null)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame.Navigate(typeof(MainPage), e.Arguments);
// rootFrame.Navigate(typeof(WindowSizePage), e.Arguments);
// rootFrame.Navigate(typeof(OrientationPage), e.Arguments);
}
// Ensure the current window is active
Window.Current.Activate();
}
/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
}
/// <summary>
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
//TODO: Save application state and stop any background activity
deferral.Complete();
}
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Controls/AutoNavButton.cs
================================================
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation.Metadata;
using Windows.Phone.UI.Input;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Documents;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
// The Templated Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234235
namespace Template10.Controls
{
/// <summary>
/// Defines the possible modes of the <see cref="AutoNavButton"/>.
/// </summary>
public enum AutoNavMode
{
/// <summary>
/// The nav button will go back one page (if possible).
/// </summary>
Back,
/// <summary>
/// The nav button will go forward one page (if possible).
/// </summary>
Forward,
/// <summary>
/// The nav button will go to the home page (if possible).
/// </summary>
Home
};
/// <summary>
/// A button that handles navigation automatically including graphically and using keyboard and mouse.
/// </summary>
public sealed class AutoNavButton : Control
{
#region Static Version
#region Constants
private const string DisabledStateName = "Disabled";
private const string EnabledStateName = "Enabled";
private const string HardwareButtonsType = "Windows.Phone.UI.Input.HardwareButtons";
private const string NavButtonName = "NavButton";
#endregion // Constants
#region Dependency Property Definitions
/// <summary>
/// Identifies the <see cref="Mode"/> dependency property.
/// </summary>
static public readonly DependencyProperty ModeProperty = DependencyProperty.Register("Mode", typeof(AutoNavMode), typeof(AutoNavButton), new PropertyMetadata(AutoNavMode.Back, OnModeChanged));
#endregion // Dependency Property Definitions
#region Dependency Property Change Forwards
private static void OnModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
((AutoNavButton)d).OnModeChanged(e);
}
#endregion // Dependency Property Change Forwards
#endregion // Static Version
#region Instance Version
#region Constructors
public AutoNavButton()
{
this.DefaultStyleKey = typeof(AutoNavButton);
this.Loaded += AutoNavButton_Loaded;
this.Unloaded += AutoNavButton_Unloaded;
}
#endregion // Constructors
#region Internal Methods
private void CalculateState()
{
// Switch the visual state to match the mode
VisualStateManager.GoToState(this, Mode.ToString(), true);
// If Mode is Back and this OS has a hardware back button, disable. Otherwise, disable if there is no back stack.
if ((Mode == AutoNavMode.Back) && (ApiInformation.IsTypePresent(HardwareButtonsType)))
{
SetEnabled(false);
}
// Enabled is calculated based on Mode
else
{
// Try to find the frame
var frame = FindFrame();
// If frame found, show or hide ourselves based on the ability to navigate
if (frame != null)
{
switch (Mode)
{
case (AutoNavMode.Back):
case (AutoNavMode.Home):
if (frame.CanGoBack)
{
SetEnabled(true);
}
break;
case (AutoNavMode.Forward):
if (frame.CanGoForward)
{
SetEnabled(true);
}
break;
default:
// Unknown mode (shouldn't happen)
SetEnabled(false);
break;
}
}
}
}
private Frame FindFrame()
{
// Look for a frame in the current window
// TODO: May need to get from NavigationService in template
return Window.Current.Content as Frame;
}
private void SetEnabled(bool enabled)
{
// The control has to be set to collapsed by default due to a bug in layout calculation
// When the control is collapsed, Load does not occur. Therefore when we go to enabled
// we need to make sure we're also visible.
if (enabled)
{
Visibility = Visibility.Visible;
}
// Which state?
var stateName = (enabled ? EnabledStateName : DisabledStateName);
// Go to the state
VisualStateManager.GoToState(this, EnabledStateName, true);
}
private bool TryNavigate()
{
// Get the frame
var frame = FindFrame();
// If frame is found and we can perform the operation
if (frame != null)
{
switch (Mode)
{
case AutoNavMode.Back:
if (frame.CanGoBack)
{
frame.GoBack();
return true;
}
break;
case AutoNavMode.Forward:
if (frame.CanGoForward)
{
frame.GoForward();
return true;
}
break;
case AutoNavMode.Home:
if (frame.CanGoBack)
{
while (frame.CanGoBack)
{
frame.GoBack();
}
return true;
}
break;
}
// Shouldn't get here but in case some other mode is added
return false;
}
else
{
return false;
}
}
#endregion // Internal Methods
#region Overrides / Event Handlers
private void AutoNavButton_Loaded(object sender, RoutedEventArgs e)
{
// If hardware buttons are present, subscribe
if (ApiInformation.IsTypePresent(HardwareButtonsType))
{
HardwareButtons.BackPressed += HardwareButtons_BackPressed;
}
// Always calcualte state
CalculateState();
}
private void AutoNavButton_Unloaded(object sender, RoutedEventArgs e)
{
// If hardware buttons are present, unsubscribe
if (ApiInformation.IsTypePresent(HardwareButtonsType))
{
HardwareButtons.BackPressed -= HardwareButtons_BackPressed;
}
}
private void NavButton_Click(object sender, RoutedEventArgs e)
{
TryNavigate();
}
private void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e)
{
// Only process if not already handled
if (!e.Handled)
{
// Only handle if our mode is back
if (Mode == AutoNavMode.Back)
{
// We'll try to handle it, assuming we have a frame and can go back
e.Handled = TryNavigate();
}
}
}
protected override void OnApplyTemplate()
{
// Pass to base first
base.OnApplyTemplate();
// Try to find the buton button
var NavButton = GetTemplateChild(AutoNavButton.NavButtonName) as Button;
// Try to subscribe to click event
if (NavButton != null)
{
NavButton.Click += NavButton_Click;
}
else
{
Debug.WriteLine(string.Format("WARNING: Could not find a button named '{0}' in the {1} template.", AutoNavButton.NavButtonName, typeof(AutoNavButton).Name));
}
// Update state
CalculateState();
}
/// <summary>
/// Occurs when the value of the <see cref="Mode"/> property has changed.
/// </summary>
/// <param name="e">
/// A <see cref="DependencyPropertyChangedEventArgs"/> containing event information.
/// </param>
private void OnModeChanged(DependencyPropertyChangedEventArgs e)
{
CalculateState();
}
#endregion // Overrides / Event Handlers
#region Public Properties
/// <summary>
/// Gets or sets the Mode of the <see cref="AutoNavButton"/>. This is a dependency property.
/// </summary>
/// <value>
/// The Mode of the <see cref="AutoNavButton"/>.
/// </value>
public AutoNavMode Mode
{
get
{
return (AutoNavMode)GetValue(ModeProperty);
}
set
{
SetValue(ModeProperty, value);
}
}
#endregion // Public Properties
#endregion // Instance Version
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Extensions/WeakEvent.cs
================================================
// #define WEAK_LOGGING
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.InteropServices.WindowsRuntime;
namespace AdaptiveUI.Extensions
{
/// <summary>
/// A base class that can monitor any event in a generic way.
/// </summary>
public class EventWatcher : IDisposable
{
#region Member Variables
private object source;
private EventInfo eventInfo;
private Delegate handler;
#endregion // Member Variables
#region Constructors
/// <summary>
/// Initializes a new <see cref="EventWatcher"/> instance.
/// </summary>
/// <param name="source">
/// The source object that will be raising the event.
/// </param>
/// <param name="eventName">
/// The name of the event to subscribe to.
/// </param>
public EventWatcher(object source, string eventName)
{
Subscribe(source, eventName);
}
#endregion // Constructors
#region Internal Methods
/// <summary>
/// Dynamically creates a handler for any event.
/// </summary>
/// <param name="signature">
/// The <see cref="Type"/> that represents the event (or delegate) signature.
/// </param>
private void CreateHandlerDelegate(Type signature)
{
// Get the event delegate's parameters from its 'Invoke' method.
var invokeMethod = signature.GetTypeInfo().GetDeclaredMethod("Invoke");
// Determine what parameters are passed into the handler
var parameters = invokeMethod.GetParameters()
.Select((p) => Expression.Parameter(p.ParameterType, p.Name)).ToArray();
// Create an expression to convert the individual parameters into a param array
var paramArray = Expression.NewArrayInit(typeof(object), parameters);
// Get a reference to the EventRaised method
var eventRaisedMethod = typeof(EventWatcher).GetTypeInfo().GetDeclaredMethod(nameof(OnEventRaised));
// Create an expression that calls the EventRaised method passing the parameter array
var body = Expression.Call(Expression.Constant(this), eventRaisedMethod, paramArray);
// Create a lambda from the body and parameters
var listener = Expression.Lambda(signature, body, parameters);
// Compile the lambda, converting it to a delegate
handler = listener.Compile();
}
/// <summary>
/// Subscribes to the named event on the specified object instance.
/// </summary>
/// <param name="source">
/// The source object that will be raising the event.
/// </param>
/// <param name="eventName">
/// The name of the event to subscribe to.
/// </param>
private void Subscribe(object source, string eventName)
{
// Validate
if (source == null) throw new ArgumentNullException("target");
if (string.IsNullOrEmpty(eventName)) throw new ArgumentException("eventName");
// Store
this.source = source;
// Attempt to get the runtime event
eventInfo = source.GetType().GetRuntimeEvent(eventName);
// Make sure event was found
if (eventInfo == null)
{
throw new InvalidOperationException(string.Format("RuntimeEvent '{0}' was not found on type '{1}'", eventName, source.GetType().Name));
}
// Get pointers to the add and remove methods
MethodInfo addMethod = eventInfo.AddMethod;
MethodInfo removeMethod = eventInfo.RemoveMethod;
// Get the parameter list from the add method
ParameterInfo[] addParameters = addMethod.GetParameters();
// The method signature for the event handler is the first parameter
Type delegateType = addParameters[0].ParameterType;
// Create a generic handler that matches the signature and forwards calls to our EventRaised method
CreateHandlerDelegate(delegateType);
// Use the RuntimeMarshaler to subscribe to the event
Func<object, EventRegistrationToken> add = a => (EventRegistrationToken)addMethod.Invoke(source, new object[] { handler });
Action<EventRegistrationToken> remove = t => removeMethod.Invoke(source, new object[] { t });
WindowsRuntimeMarshal.AddEventHandler(add, remove, handler);
}
#endregion // Internal Methods
#region IDisposable Members
void IDisposable.Dispose()
{
// Remove the event handler
if (handler != null)
{
eventInfo.RemoveEventHandler(source, handler);
handler = null;
}
}
#endregion // IDisposable Members
#region Overridables / Event Triggers
/// <summary>
/// Called when the event being watched is raised.
/// </summary>
/// <param name="parameters">
/// The parameters of the event.
/// </param>
protected virtual void OnEventRaised(params object[] parameters)
{
}
#endregion // Overridables / Event Triggers
}
/// <summary>
/// Allows multiple subscriptions to an event without pinning subscribers in memory.
/// </summary>
public class WeakEvent : EventWatcher
{
#region Nested Types
private class WeakSubscription
{
public WeakSubscription(Delegate del)
{
Instance = new WeakReference(del.Target);
Method = del.GetMethodInfo();
}
public WeakReference Instance { get; set; }
public MethodInfo Method { get; set; }
}
private class SubscriberCollection : Collection<WeakSubscription> { }
#endregion // Nested Types
#region Static Version
#region Member Variables
static private Collection<WeakEvent> registrations = new Collection<WeakEvent>();
#endregion // Member Variables
#region Internal Methods
static private WeakEvent FindRegistration(object source, string eventName)
{
// Look for registration
WeakEvent reg = null;
for (int iReg = registrations.Count - 1; iReg >= 0; iReg--)
{
// Get the registration
reg = registrations[iReg];
// If the source is dead, remove the registration
if ((reg != null) && (!reg.source.IsAlive))
{
registrations.RemoveAt(iReg);
#if WEAK_LOGGING
Debug.WriteLine(string.Format("Removing registration for event '{0}' due to expired object instance. New total registrations: {1}", eventName, registrations.Count));
#endif
reg = null;
}
// If it's the right source, done searching
if ((reg.source.Target == source) && (reg.eventName == eventName))
{
break;
}
else
{
reg = null;
}
}
// Done searching
return reg;
}
static private void VerifyDelegate<THandler>() where THandler : class
{
// Verify handler type
if (!typeof(Delegate).GetTypeInfo().IsAssignableFrom(typeof(THandler).GetTypeInfo()))
{
throw new InvalidOperationException(string.Format("The type '{0}' is not a delegate and cannot be used for event subscriptions.", typeof(THandler).Name));
}
}
#endregion // Internal Methods
#region Public Methods
/// <summary>
/// Adds a weak subscription to the specified handler.
/// </summary>
/// <param name="source">
/// The object that is the source of the event.
/// </param>
/// <param name="eventName">
/// The name of the event.
/// </param>
/// <param name="handler">
/// The handler to subscribe.
/// </param>
static public void Subscribe<THandler>(object source, string eventName, THandler handler) where THandler : class
{
// Verify delegate type
VerifyDelegate<THandler>();
// Try to find existing
var reg = FindRegistration(source, eventName);
// If not found, create one and store it
if (reg == null)
{
reg = new WeakEvent(source, eventName);
registrations.Add(reg);
#if WEAK_LOGGING
Debug.WriteLine(string.Format("Creating new registration for event '{0}' and object ID {1}. Total registrations: {2}", eventName, source.GetHashCode(), registrations.Count));
#endif
}
#if WEAK_LOGGING
else
{
Debug.WriteLine(string.Format("Reusing existing registration for event '{0}' and object ID {1}. Total registrations: {2}", eventName, source.GetHashCode(), registrations.Count));
}
#endif
// Add the subscription
reg.Subscribe(handler as Delegate);
}
/// <summary>
/// Removes a subscription to the specified handler.
/// </summary>
/// <param name="source">
/// The object that is the source of the event.
/// </param>
/// <param name="eventName">
/// The name of the event.
/// </param>
/// <param name="handler">
/// The handler to unsubscribe.
/// </param>
static public void Unsubscribe<THandler>(object source, string eventName, THandler handler) where THandler : class
{
// Verify delegate type
VerifyDelegate<THandler>();
// Try to find existing
var reg = FindRegistration(source, eventName);
// If found, unsubscribe
if (reg == null)
{
reg.Subscribe(handler as Delegate);
}
}
#endregion // Public Methods
#endregion // Static Version
#region Instance Version
#region Member Variables
private string eventName;
private WeakReference source;
private SubscriberCollection subscriptions = new SubscriberCollection();
#endregion // Member Variables
#region Constructors
/// <summary>
/// Initializes a new <see cref="WeakEvent"/> instance.
/// </summary>
/// <param name="source">
/// The source object that will be raising the event.
/// </param>
/// <param name="eventName">
/// The name of the event to subscribe to.
/// </param>
private WeakEvent(object source, string eventName) : base(source, eventName)
{
// Store
this.source = new WeakReference(source);
this.eventName = eventName;
}
#endregion // Constructors
#region Internal Methods
private WeakSubscription FindSubscription(Delegate handler)
{
// Get the target
var target = handler.Target;
// Get the new info
var method = handler.GetMethodInfo();
// Make sure it's not already subscribed
for (int iSub = subscriptions.Count - 1; iSub >= 0; iSub--)
{
// Get the subscription
var sub = subscriptions[iSub];
// Subscriber still alive?
if (sub.Instance.IsAlive)
{
// Already subscribed?
if ((sub.Instance.Target == target) && (sub.Method == method)) { return sub; }
}
else
{
// Reference dead. Might as well remove it.
subscriptions.RemoveAt(iSub);
#if WEAK_LOGGING
Debug.WriteLine(string.Format("Removing expired registration for event '{0}' and object ID {1}. New total registrations: {2}", eventName, source.Target.GetHashCode(), registrations.Count));
#endif
}
}
// Not found
return null;
}
#endregion // Internal Methods
#region Overrides / Event Handlers
protected override void OnEventRaised(params object[] parameters)
{
// Pass to base first
base.OnEventRaised(parameters);
#if WEAK_LOGGING
Debug.WriteLine(string.Format("Forwarding event for {0} subscribers.", subscriptions.Count));
Debug.WriteLine(string.Format("Forwarding event '{0}' for object ID {1}. Total registrations: {2}", eventName, source.Target.GetHashCode(), registrations.Count));
#endif
// Do for all subscribers
for (int iSub = subscriptions.Count - 1; iSub >= 0; iSub--)
{
// Get the subscription
var sub = subscriptions[iSub];
// Alive?
if (sub.Instance.IsAlive)
{
// Call the subscriber safely
sub.Method.Invoke(sub.Instance.Target, parameters);
}
else
{
// Reference dead. Might as well remove it.
subscriptions.RemoveAt(iSub);
#if WEAK_LOGGING
Debug.WriteLine(string.Format("Removing expired registration for event '{0}' and object ID {1}. New total registrations: {2}", eventName, source.Target.GetHashCode(), registrations.Count));
#endif
}
}
}
#endregion // Overrides / Event Handlers
#region Internal Methods
/// <summary>
/// Adds a weak subscription to the specified handler.
/// </summary>
/// <param name="handler">
/// The handler to subscribe.
/// </param>
private void Subscribe(Delegate handler)
{
// Try to find existing subscription
var existing = FindSubscription(handler);
// If not subscribed yet, subscribe
if (existing == null)
{
subscriptions.Add(new WeakSubscription(handler));
}
}
/// <summary>
/// Removes a subscription to the specified handler.
/// </summary>
/// <param name="handler">
/// The handler to unsubscribe.
/// </param>
private void Unsubscribe(Delegate handler)
{
// Try to find existing subscription
var existing = FindSubscription(handler);
// If found, remove it
if (existing != null)
{
subscriptions.Remove(existing);
}
}
#endregion // Internal Methods
#endregion // Instance Version
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Model/SampleInfo.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
namespace AdaptiveUI.Model
{
/// <summary>
/// An entity class for representing a sample.
/// </summary>
public class SampleInfo
{
/// <summary>
/// Gets or sets an icon for the sample.
/// </summary>
public IconElement Icon { get; set; }
/// <summary>
/// Gets or sets a title for the sample.
/// </summary>
public string Title { get; set; }
/// <summary>
/// Gets or sets the type of the sample
/// </summary>
public Type Type { get; set; }
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Package.appxmanifest
================================================
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="a0441d97-4c5f-4433-80de-02cf19591a18"
Publisher="CN=jbienz"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="a0441d97-4c5f-4433-80de-02cf19591a18" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>AdaptiveUI</DisplayName>
<PublisherDisplayName>jbienz</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10069.0" MaxVersionTested="10.0.10069.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="AdaptiveUI.App">
<uap:VisualElements
DisplayName="AdaptiveUI"
Square150x150Logo="Assets\Logo.png"
Square44x44Logo="Assets\SmallLogo.png"
Description="AdaptiveUI"
BackgroundColor="#464646">
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>
================================================
FILE: AdaptiveUI/AdaptiveUI/Properties/AssemblyInfo.cs
================================================
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AdaptiveUI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AdaptiveUI")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
================================================
FILE: AdaptiveUI/AdaptiveUI/Properties/Default.rd.xml
================================================
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919
To fully enable reflection for App1.MyClass and all of its public/private members
<Type Name="App1.MyClass" Dynamic="Required All"/>
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Seralize="All" />
-->
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />
<!-- Add your application specific runtime directives here. -->
</Application>
<!-- Enable dynamic access to types that Application Insights requires -->
<Library Name="*Microsoft.ApplicationInsights*">
<Type Name="Windows.ApplicationModel.Core.CoreApplication" Dynamic="Required Public" />
</Library>
</Directives>
================================================
FILE: AdaptiveUI/AdaptiveUI/Themes/Generic.xaml
================================================
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:Template10.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
<Style TargetType="controls:AutoNavButton">
<Setter Property="Visibility" Value="Collapsed" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:AutoNavButton">
<Grid
Background="{TemplateBinding Background}"
Height="48" Width="48">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="EnabledGroup">
<VisualState x:Name="Disabled">
<VisualState.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Enabled">
<VisualState.Setters>
<Setter Property="Visibility" Value="Visible" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="ModeGroup">
<VisualState x:Name="Back">
<VisualState.Setters>
<Setter Target="SymbolHolder.Symbol" Value="Back" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Forward">
<VisualState.Setters>
<Setter Target="SymbolHolder.Symbol" Value="Forward" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Home">
<VisualState.Setters>
<Setter Target="SymbolHolder.Symbol" Value="Home" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Button x:Name="NavButton" Background="Transparent" BorderBrush="Transparent">
<SymbolIcon x:Name="SymbolHolder" Symbol="Back" RequestedTheme="{TemplateBinding RequestedTheme}" />
</Button>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
================================================
FILE: AdaptiveUI/AdaptiveUI/Triggers/ApiInformationTrigger.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation.Metadata;
using Windows.UI.Xaml;
namespace Template10.Triggers
{
/// <summary>
/// A trigger that can be used to check for available APIs.
/// </summary>
public class ApiInformationTrigger : StateTriggerBase
{
#region Constructors
/// <summary>
/// Initializes a new <see cref="ApiInformationTrigger"/> instance.
/// </summary>
public ApiInformationTrigger()
{
EvaluateTrigger();
}
#endregion // Constructors
#region Internal Methods
/// <summary>
/// Reevaluates the trigger value.
/// </summary>
private void EvaluateTrigger()
{
// Flags for evaluation
bool anySpecified = false;
bool anyMet = false;
bool allMet = true;
// Check type availability?
if (!string.IsNullOrEmpty(typeName))
{
anySpecified = true;
if (ApiInformation.IsTypePresent(typeName))
{
anyMet = true;
}
else
{
allMet = false;
}
}
// Check contract availability?
if (!string.IsNullOrEmpty(contractName))
{
anySpecified = true;
// Evaluate, using minor version if specified
bool contractMet = (contractMinorVersion.HasValue ? ApiInformation.IsApiContractPresent(contractName, (ushort)contractMajorVersion, (ushort)contractMinorVersion.Value) : ApiInformation.IsApiContractPresent(contractName, (ushort)contractMajorVersion));
if (contractMet)
{
anyMet = true;
}
else
{
allMet = false;
}
}
// We don't want to trigger if no APIs were specified at all
if (!anySpecified)
{
SetActive(false);
}
// Are all required?
else if (requireAll)
{
SetActive(allMet);
}
// Only one is required
else
{
SetActive(anyMet);
}
}
#endregion // Internal Methods
#region Public Properties
private int contractMajorVersion = 1;
/// <summary>
/// Gets or sets the major version of the contract that must be present to satisfy the trigger.
/// </summary>
/// <value>
/// The major version of the contract that must be present to satisfy the trigger. The default is 1.
/// </value>
public int ContractMajorVersion
{
get
{
return contractMajorVersion;
}
set
{
if (contractMajorVersion != value)
{
// Validate range because the xaml value converter can't handle ushort. It can only int.
if ((value < ushort.MinValue) || (value > ushort.MaxValue)) throw new ArgumentOutOfRangeException("value");
// Store
contractMajorVersion = value;
// Reevaluate
EvaluateTrigger();
}
}
}
private int? contractMinorVersion = null;
/// <summary>
/// Gets or sets the minor version of the contract that must be present to satisfy the trigger.
/// </summary>
/// <value>
/// The minor version of the contract that must be present to satisfy the trigger or <see langword="null"/> to not require a minor version. The default is null.
/// </value>
public int? ContractMinorVersion
{
get
{
return contractMinorVersion;
}
set
{
if (contractMinorVersion != value)
{
// If there is a value, validate range because the xaml value converter can't handle ushort. It can only int.
if (value.HasValue)
{
if ((value.Value < ushort.MinValue) || (value.Value > ushort.MaxValue)) throw new ArgumentOutOfRangeException("value");
}
// Store
contractMinorVersion = value;
// Reevaluate
EvaluateTrigger();
}
}
}
private string contractName;
/// <summary>
/// Gets or sets the name of the contract that will be tested with ApiInformation.IsApiContractPresent.
/// </summary>
/// <value>
/// The name of the contract that will be tested with ApiInformation.IsApiContractPresent.
/// </value>
/// <remarks>
/// An example value for this property is "Windows.Devices.Scanners.ScannerDeviceContract" which checks for the availability of a document scanner.
/// </remarks>
public string ContractName
{
get
{
return contractName;
}
set
{
if (contractName != value)
{
contractName = value;
EvaluateTrigger();
}
}
}
private bool requireAll = true;
/// <summary>
/// Gets or sets a value that indicates if all specified APIs must be present to satisfy the trigger.
/// </summary>
/// <value>
/// <c>true</c> if all specified APIs must be present to satisfy the trigger; otherwise <c>false</c>. The default is <c>true</c>.
/// </value>
public bool RequireAll
{
get
{
return requireAll;
}
set
{
if (requireAll != value)
{
requireAll = value;
EvaluateTrigger();
}
}
}
private string typeName;
/// <summary>
/// Gets or sets the name of the type that will be tested with ApiInformation.IsTypePresent.
/// </summary>
/// <value>
/// The name of the type that will be tested with ApiInformation.IsTypePresent.
/// </value>
/// <remarks>
/// An example value for this property is "Windows.Phone.UI.Input.HardwareButtons" which represents the hardware back button on phone devices.
/// </remarks>
public string TypeName
{
get
{
return typeName;
}
set
{
if (typeName != value)
{
typeName = value;
EvaluateTrigger();
}
}
}
#endregion // Public Properties
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Triggers/ControlSizeTrigger.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace Template10.Triggers
{
public class ControlSizeTrigger : StateTriggerBase
{
//private variables
private double _minHeight, _minWidth = -1;
private FrameworkElement _targetElement;
private double _currentHeight, _currentWidth;
//public properties to set from XAML
public double MinHeight
{
get
{
return _minHeight;
}
set
{
_minHeight = value;
}
}
public double MinWidth
{
get
{
return _minWidth;
}
set
{
_minWidth = value;
}
}
public FrameworkElement TargetElement
{
get
{
return _targetElement;
}
set
{
_targetElement = value;
_targetElement.SizeChanged += _targetElement_SizeChanged;
}
}
//Handle event to get current values
private void _targetElement_SizeChanged(object sender, SizeChangedEventArgs e)
{
_currentHeight = e.NewSize.Height;
_currentWidth = e.NewSize.Width;
UpdateTrigger();
}
//Logic to evaluate and apply trigger value
private void UpdateTrigger()
{
//if target is set and either minHeight or minWidth is set, proceed
if (_targetElement != null && (_minWidth > 0 || _minHeight > 0))
{
//if both minHeight and minWidth are set, then both conditions must be satisfied
if (_minHeight > 0 && _minWidth > 0)
{
SetActive((_currentHeight >= _minHeight) && (_currentWidth >= _minWidth));
}
//if only one of them is set, then only that condition needs to be satisfied
else if (_minHeight > 0)
{
SetActive(_currentHeight >= _minHeight);
}
else
{
SetActive(_currentWidth >= _minWidth);
}
}
else
{
SetActive(false);
}
}
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Triggers/DeviceFamilyTrigger.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace Template10.Triggers
{
public class DeviceFamilyTrigger : StateTriggerBase
{
private string _deviceFamily;
public string DeviceFamily
{
get { return _deviceFamily; }
set
{
var qualifiers = Windows.ApplicationModel.Resources.Core
.ResourceContext.GetForCurrentView().QualifierValues;
if (qualifiers.ContainsKey("DeviceFamily"))
SetActive(qualifiers["DeviceFamily"] == (_deviceFamily = value));
else
SetActive(false);
}
}
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Triggers/InputTypeTrigger.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Input;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Input;
namespace Template10.Triggers
{
public class InputTypeTrigger : StateTriggerBase
{
//private variables
private FrameworkElement _targetElement;
private PointerDeviceType _lastPointerType, _triggerPointerType;
//public properties to set from XAML
public FrameworkElement TargetElement
{
get
{
return _targetElement;
}
set
{
_targetElement = value;
_targetElement.AddHandler(FrameworkElement.PointerPressedEvent, new PointerEventHandler(_targetElement_PointerPressed), true);
}
}
public PointerDeviceType PointerType
{
get
{
return _triggerPointerType;
}
set
{
_triggerPointerType = value;
}
}
//Handle event to get current values
private void _targetElement_PointerPressed(object sender, PointerRoutedEventArgs e)
{
_lastPointerType = e.Pointer.PointerDeviceType;
UpdateTrigger();
}
//Logic to evaluate and apply trigger value
public void UpdateTrigger()
{
SetActive(_triggerPointerType == _lastPointerType);
}
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Triggers/InteractionModeTrigger.cs
================================================
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
namespace AdaptiveUI.Triggers
{
class InteractionModeTrigger : StateTriggerBase
{
public InteractionModeTrigger()
{
Window.Current.SizeChanged += (s, e) => Update();
}
private UserInteractionMode _mode;
public UserInteractionMode Mode
{
get { return _mode; }
set { _mode = value; Update(); }
}
void Update()
{
var viewSettings = Windows.UI.ViewManagement.UIViewSettings.GetForCurrentView();
SetActive(viewSettings.UserInteractionMode.Equals(Mode));
}
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Triggers/NetworkAvailableStateTrigger.cs
================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Networking.Connectivity;
using Windows.UI.Xaml;
namespace Template10.Triggers
{
public class NetworkAvailableStateTrigger : StateTriggerBase
{
public NetworkAvailableStateTrigger()
{
NetworkInformation.NetworkStatusChanged += NetworkInformation_NetworkStatusChanged;
UpdateState();
}
private async void NetworkInformation_NetworkStatusChanged(object sender)
{
await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, UpdateState);
}
private void UpdateState()
{
bool isConnected = false;
var profile = NetworkInformation.GetInternetConnectionProfile();
// TODO: complete check
if (profile != null)
isConnected = profile.GetNetworkConnectivityLevel() == NetworkConnectivityLevel.InternetAccess;
SetActive(
isConnected && ConnectionState == ConnectionState.Connected ||
!isConnected && ConnectionState == ConnectionState.Disconnected);
}
public ConnectionState ConnectionState
{
get { return (ConnectionState)GetValue(ConnectionStateProperty); }
set { SetValue(ConnectionStateProperty, value); }
}
public static readonly DependencyProperty ConnectionStateProperty =
DependencyProperty.Register("ConnectionState", typeof(ConnectionState), typeof(NetworkAvailableStateTrigger),
new PropertyMetadata(ConnectionState.Connected, OnConnectionStatePropertyChanged));
private static void OnConnectionStatePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var obj = (NetworkAvailableStateTrigger)d;
obj.UpdateState();
}
}
public enum ConnectionState
{
Connected,
Disconnected,
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Triggers/OrientationTrigger.cs
================================================
using AdaptiveUI.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Core;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
namespace Template10.Triggers
{
/// <summary>
/// A trigger that changes state based on the orientation of the current window.
/// </summary>
public class OrientationTrigger : StateTriggerBase
{
#region Constructors
/// <summary>
/// Initializes a new <see cref="OrientationTrigger"/> instance.
/// </summary>
public OrientationTrigger()
{
// Get application main window
var win = Window.Current;
// Create a weak subscription to the SizeChanged event so that we don't pin the trigger or page in memory
WeakEvent.Subscribe<WindowSizeChangedEventHandler>(win, nameof(win.SizeChanged), Window_SizeChanged);
// Calculate the initial state
CalculateState();
}
#endregion // Constructors
#region Internal Methods
private void CalculateState()
{
var currentOrientation = ApplicationViewOrientation.Landscape;
var window = Window.Current;
if (window.Bounds.Width >= window.Bounds.Height)
{
currentOrientation = ApplicationViewOrientation.Landscape;
}
else
{
currentOrientation = ApplicationViewOrientation.Portrait;
}
SetActive(currentOrientation == orientation);
}
#endregion // Internal Methods
#region Overrides / Event Handlers
private void Window_SizeChanged(object sender, WindowSizeChangedEventArgs e)
{
// System.Diagnostics.Debug.WriteLine(string.Format("Size Changed {0}", this.GetHashCode()));
CalculateState();
}
#endregion // Overrides / Event Handlers
#region Public Properties
private ApplicationViewOrientation orientation;
/// <summary>
/// Gets or sets the orientation that will satisfy the trigger.
/// </summary>
/// <value>
/// The orientation that will satisfy the trigger.
/// </value>
public ApplicationViewOrientation Orientation
{
get
{
return orientation;
}
set
{
if (orientation != value)
{
orientation = value;
CalculateState();
}
}
}
#endregion // Public Properties
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Views/ApiInformationPage.xaml
================================================
<Page
x:Class="AdaptiveUI.Views.ApiInformationPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:AdaptiveUI.Views"
xmlns:controls="using:Template10.Controls"
xmlns:trig="using:Template10.Triggers"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" RequestedTheme="Light">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ScannerGroup">
<VisualState x:Name="scannerAvailableState">
<VisualState.Setters>
<Setter Target="ScanButton.Visibility" Value="Visible" />
</VisualState.Setters>
<VisualState.StateTriggers>
<trig:ApiInformationTrigger ContractName="Windows.Devices.Scanners.ScannerDeviceContract" ContractMajorVersion="1" />
</VisualState.StateTriggers>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="SettingsGroup">
<VisualState x:Name="settingsAvailableState">
<VisualState.Setters>
<Setter Target="SettingsButton.Visibility" Value="Visible" />
</VisualState.Setters>
<VisualState.StateTriggers>
<trig:ApiInformationTrigger TypeName="Windows.UI.ApplicationSettings.SettingsPane" />
</VisualState.StateTriggers>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<controls:AutoNavButton Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="24,0,0,0"/>
<TextBlock Grid.Column="1" HorizontalAlignment="Left" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis" Text="API Information Trigger" Style="{StaticResource HeaderTextBlockStyle}" Margin="24,18"/>
</StackPanel>
<Grid Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="130,130">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="150" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="50" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<RichTextBlock Grid.Row="0" Grid.ColumnSpan="2" FontSize="32">
<Paragraph>
<Run Text="This sample demonstrates the use of "/>
<Run FontWeight="Bold" Text="ApiInformationTrigger"/>
<Run Text=" to show and hide items:"/>
</Paragraph>
</RichTextBlock>
<RichTextBlock Grid.Row="2" FontSize="20">
<Paragraph>
<Run Text="If your device supports a scanner you will see a scanner button to the right."/>
</Paragraph>
</RichTextBlock>
<Button Grid.Row="2" Grid.Column="1" x:Name="ScanButton" Margin="24,18" Visibility="Collapsed">
<Button.RenderTransform>
<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="2" ScaleY="2" />
</Button.RenderTransform>
<SymbolIcon Symbol="Scan" />
</Button>
<RichTextBlock Grid.Row="3" FontSize="20">
<Paragraph>
<Run Text="If your device supports the settings pane you will see a settings button to the right."/>
</Paragraph>
</RichTextBlock>
<Button Grid.Row="3" Grid.Column="1" x:Name="SettingsButton" Margin="24,18" Visibility="Collapsed">
<Button.RenderTransform>
<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="2" ScaleY="2" />
</Button.RenderTransform>
<SymbolIcon Symbol="Setting" />
</Button>
</Grid>
</Grid>
</Page>
================================================
FILE: AdaptiveUI/AdaptiveUI/Views/ApiInformationPage.xaml.cs
================================================
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace AdaptiveUI.Views
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class ApiInformationPage : Page
{
public ApiInformationPage()
{
this.InitializeComponent();
}
}
}
================================================
FILE: AdaptiveUI/AdaptiveUI/Views/MainPage.xaml
================================================
<Page
x:Class="AdaptiveUI.Views.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:views="using:AdaptiveUI.Views"
xmlns:controls="using:Template10.Controls"
xmlns:mod="using:AdaptiveUI.Model"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DataContext="{d:DesignInstance Type=views:MainPage, IsDesignTimeCreatable=False}" RequestedTheme="Light">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<controls:AutoNavButton VerticalAlignment="Center" Margin="24,0,0,0" />
<TextBlock Grid.Column="1" HorizontalAlignment="Left" TextWrapping="Wrap" Text="Adaptive UI Samples" Style="{StaticResource HeaderTextBlockStyle}" Margin="24,18"/>
<controls:AutoNavButton Grid.Column="2" Mode="Forward" VerticalAlignment="Center" Margin="24,0,0,0" />
</Grid>
<GridView x:Name="SampleGrid" Margin="40" Grid.Row="1" IsItemClickEnabled="True" ItemClick="SampleGrid_ItemClick">
<GridView.ItemTemplate>
<DataTemplate>
<Grid Background="DarkCyan" Margin="15" Height="100" Width="300">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ContentControl Content="{Binding Icon}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="30" />
<TextBlock Grid.Column="1" Text="{Binding Title}" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="20" />
</Grid>
</DataTemplate>
</GridView.ItemTemplate>
<mod:SampleInfo Title="API Information" Type="views:ApiInformationPage">
<mod:SampleInfo.Icon>
<PathIcon RenderTransformOrigin="0.5,0.5" Data="M13.3623971939087,2.79566884040833L20,7.71273326873779 20,10.2748641967773 13.3623971939087,15.1699247360229 13.3623971939087,12.5050811767578 17.707878112793,9.01392650604248 17.707878112793,8.97249794006348 13.3623971939087,5.48113632202148 13.3623971939087,2.79566884040833z M6.63854169845581,2.79566884040833L6.63854169845581,5.46168327331543 2.29386949539185,8.95281982421875 2.29386949539185,8.99310493469238 6.63854169845581,12.4855813980103 6.63854169845581,15.1699247360229 0,10.2542381286621 0,7.69191074371338 6.63854169845581,2.79566884040833z M10.60608959198,0L12.4042568206787,0.311282575130463 9.37306118011475,17.8980922698975 7.57605648040771,17.587963104248 10.60608959198,0z">
<PathIcon.RenderTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</PathIcon.RenderTransform>
</PathIcon>
</mod:SampleInfo.Icon>
</mod:SampleInfo>
<!--<mod:SampleInfo Title="Device Family" Type="views:ApiInformationPage">
<mod:SampleInfo.Icon>
<PathIcon RenderTransformOrigin="0.5,0.5" Data="M 6.7480469 3.265625 L 6.7480469 14.623047 L 33.326172 14.623047 L 33.326172 3.265625 L 6.7480469 3.265625 z M 8.2773438 4.7636719 L 31.796875 4.7636719 L 31.796875 13.123047 L 8.2773438 13.123047 L 8.2773438 9.7070312 L 20.253906 9.7070312 L 20.253906 8.1796875 L 8.2773438 8.1796875 L 8.2773438 4.7636719 z M 28.650391 7.5136719 C 27.820875 7.5136719 27.148438 8.1869511 27.148438 9.0175781 C 27.148438 9.8476491 27.820875 10.521484 28.650391 10.521484 C 29.481018 10.521484 30.154297 9.8476491 30.154297 9.0175781 C 30.154297 8.1875071 29.481573 7.5136719 28.650391 7.5136719 z M 28.650391 8.2148438 C 29.095132 8.2148438 29.453125 8.5739481 29.453125 9.0175781 C 29.453125 9.4617631 29.095132 9.8203125 28.650391 9.8203125 C 28.207872 9.8203125 27.849609 9.4617631 27.849609 9.0175781 C 27.849609 8.5739481 28.207872 8.2148438 28.650391 8.2148438 z M 0.005859375 19.533203 L 0.005859375 19.863281 C 0.005859375 25.377842 0.0094000035 30.891134 0 36.40625 C -0.000555 36.699971 0.07015775 36.779297 0.37109375 36.779297 C 7.7956508 36.769897 15.218576 36.769897 22.642578 36.779297 C 22.944628 36.779297 23.013672 36.699412 23.013672 36.40625 C 23.003172 30.891689 23.005859 25.377842 23.005859 19.863281 L 23.005859 19.533203 L 0.005859375 19.533203 z M 1.4667969 20.978516 L 21.544922 20.978516 L 21.544922 35.304688 L 1.4667969 35.304688 L 1.4667969 20.978516 z M 30.246094 21.138672 L 30.246094 36.779297 L 40 36.779297 L 40 21.138672 L 30.246094 21.138672 z M 31.207031 22.119141 L 39.037109 22.119141 L 39.037109 23.056641 L 31.207031 23.056641 L 31.207031 22.119141 z M 31.205078 24.068359 L 39.029297 24.068359 L 39.029297 31.873047 L 31.205078 31.873047 L 31.205078 24.068359 z M 10.769531 32.470703 L 10.769531 33.896484 L 12.248047 33.896484 L 12.248047 32.470703 L 10.769531 32.470703 z M 31.210938 32.886719 L 39.033203 32.886719 L 39.033203 35.810547 L 31.210938 35.810547 L 31.210938 32.886719 z M 34.615234 33.845703 L 34.615234 34.859375 L 35.621094 34.859375 L 35.621094 33.845703 L 34.615234 33.845703 z">
<PathIcon.RenderTransform>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
</PathIcon.RenderTransform>
</PathIcon>
</mod:SampleInfo.Icon>
</mod:SampleInfo>-->
<mod:SampleInfo Title="Orientation" Type="views:OrientationPage">
<mod:SampleInfo.Icon>
<PathIcon RenderTransformOrigin="0.5,0.5" Data="M 19.769531 5.8164062 C 19.414906 5.8158592 19.318359 5.8994307 19.318359 6.2617188 C 19.321144 8.4289821 19.316924 10.596368 19.318359 12.763672 L 0.095703125 12.763672 L 0.095703125 13.160156 C 0.095703125 19.800645 0.098830625 26.442401 0.087890625 33.083984 C 0.087343625 33.438611 0.17286725 33.535704 0.53515625 33.535156 C 9.4763383 33.523666 18.416787 33.523666 27.357422 33.535156 C 27.389865 33.535205 27.409395 33.528964 27.4375 33.527344 C 31.522515 33.525489 35.606518 33.521484 39.691406 33.521484 L 40.087891 33.521484 L 40.087891 5.8222656 C 39.945055 5.8222656 39.818918 5.8236717 39.691406 5.8242188 C 33.050917 5.8242188 26.411114 5.8278963 19.769531 5.8164062 z M 16.652344 6.765625 C 16.575724 6.845525 16.498105 6.9243926 16.416016 7.0097656 C 16.584573 7.1712086 16.752459 7.3326976 16.919922 7.4941406 C 16.131316 7.3272256 15.391337 7.4317933 14.71875 7.8789062 C 14.045617 8.3249252 13.644543 8.9568554 13.517578 9.7558594 C 13.413051 10.410385 13.558914 11.061413 13.886719 11.601562 L 14.134766 11.353516 C 13.707354 10.588443 13.718617 9.6044551 14.236328 8.8300781 C 14.925332 7.7995821 16.1573 7.5922816 16.990234 7.9003906 C 16.807449 8.0902906 16.630363 8.2726785 16.449219 8.4609375 C 16.530759 8.5391975 16.609317 8.6140064 16.691406 8.6933594 C 17.00444 8.3671914 17.319306 8.0414845 17.636719 7.7109375 C 17.310003 7.3968085 16.982891 7.083584 16.652344 6.765625 z M 21.091797 7.5820312 L 38.345703 7.5820312 L 38.345703 31.761719 L 27.804688 31.761719 C 27.795222 25.561422 27.794922 19.360453 27.794922 13.160156 L 27.794922 12.763672 L 21.091797 12.763672 L 21.091797 7.5820312 z M 1.8554688 14.505859 L 19.318359 14.505859 C 19.321207 20.257134 19.325019 26.008892 19.318359 31.759766 L 1.8554688 31.759766 L 1.8554688 14.505859 z M 21.091797 14.505859 L 26.035156 14.505859 L 26.035156 31.759766 L 21.091797 31.759766 L 21.091797 14.505859 z M 22.789062 18.785156 L 22.789062 20.566406 L 24.507812 20.566406 L 24.507812 18.785156 L 22.789062 18.785156 z M 13.058594 28.345703 L 13.058594 30.064453 L 14.839844 30.064453 L 14.839844 28.345703 L 13.058594 28.345703 z">
gitextract_q2xce2zl/
├── .gitattributes
├── .gitignore
├── ActionCenterDemo/
│ ├── ActionCenterDemo/
│ │ ├── ActionCenterDemo.csproj
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── ApplicationBase.cs
│ │ │ └── MVVM.cs
│ │ ├── Converters/
│ │ │ ├── BoolToColorConverter.cs
│ │ │ └── CountToVisibilityConverter.cs
│ │ ├── Models/
│ │ │ ├── MessageItem.cs
│ │ │ └── ToastParams.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Repositories/
│ │ │ └── MessageItemRepository.cs
│ │ ├── Services/
│ │ │ ├── DispatcherService.cs
│ │ │ ├── NavigationService.cs
│ │ │ └── TileServices.cs
│ │ ├── ViewModels/
│ │ │ ├── DetailPageViewModel.cs
│ │ │ └── MainPageViewModel.cs
│ │ ├── Views/
│ │ │ ├── DetailPage.xaml
│ │ │ ├── DetailPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ ├── ActionCenterDemo.sln
│ └── ActionCenterHistoryChangedTask/
│ ├── ActionCenterChangedBackgroundTask.cs
│ ├── ActionCenterHistoryChangedTask.csproj
│ ├── MessageItem.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── ToastParams.cs
│ └── packages.config
├── Adaptive UI/
│ └── Blank10/
│ └── Views/
│ └── MainPage.xaml
├── AdaptiveCode/
│ └── VisibleBoundsDemo/
│ ├── VisibleBoundsDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Triggers/
│ │ │ └── DeviceFamilyTrigger.cs
│ │ └── VisibleBoundsDemo.csproj
│ └── VisibleBoundsDemo.sln
├── AdaptiveUI/
│ ├── AdaptiveUI/
│ │ ├── AdaptiveUI-Blank.csproj
│ │ ├── AdaptiveUI.sln
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Controls/
│ │ │ └── AutoNavButton.cs
│ │ ├── Extensions/
│ │ │ └── WeakEvent.cs
│ │ ├── Model/
│ │ │ └── SampleInfo.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Themes/
│ │ │ └── Generic.xaml
│ │ ├── Triggers/
│ │ │ ├── ApiInformationTrigger.cs
│ │ │ ├── ControlSizeTrigger.cs
│ │ │ ├── DeviceFamilyTrigger.cs
│ │ │ ├── InputTypeTrigger.cs
│ │ │ ├── InteractionModeTrigger.cs
│ │ │ ├── NetworkAvailableStateTrigger.cs
│ │ │ └── OrientationTrigger.cs
│ │ ├── Views/
│ │ │ ├── ApiInformationPage.xaml
│ │ │ ├── ApiInformationPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── OrientationPage.xaml
│ │ │ ├── OrientationPage.xaml.cs
│ │ │ ├── WindowSizePage.xaml
│ │ │ └── WindowSizePage.xaml.cs
│ │ └── packages.config
│ └── AdaptiveUI.sln
├── AppService/
│ └── AppService_EncoderDecoder/
│ ├── AppService_EncoderDecoder.sln
│ ├── ClientApp/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── ClientApp.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ └── packages.config
│ ├── ServerApp/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── ServerApp.csproj
│ │ └── packages.config
│ └── TextEncoderComponent/
│ ├── EncoderDecoderTask.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── TextEncoderComponent.csproj
│ └── packages.config
├── AppServicesDemo/
│ ├── SimpleCalculatorAppService/
│ │ ├── AppServicesClientApp/
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── AppServicesClientApp.csproj
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Package.appxmanifest
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── AppServicesDemo/
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── AppServicesDemo.csproj
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Package.appxmanifest
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── AppServicesDemoTask/
│ │ │ ├── AppServiceTask.cs
│ │ │ ├── AppServicesDemoTask.csproj
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── SimpleCalculatorAppServicesDemo.sln
│ └── SynonymsAppServiceDemo/
│ ├── AppServicesClientApp/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── AppServicesClientApp.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── packages.config
│ ├── AppServicesDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── AppServicesDemo.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ ├── AppServicesDemo.sln
│ ├── AppServicesDemoTask/
│ │ ├── AppServiceTask.cs
│ │ ├── AppServicesDemoTask.csproj
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ ├── SynonymsService/
│ │ ├── BingSynonymsResponse.cs
│ │ ├── JSONHelper.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── SynonymApi.cs
│ │ ├── SynonymsService.csproj
│ │ └── SynonymsServiceTask.cs
│ └── SynonymsServiceClientLibrary/
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── SynonymsServiceClient.cs
│ ├── SynonymsServiceClientLibrary.csproj
│ ├── SynonymsServiceResponse.cs
│ └── packages.config
├── AzureMobileApps/
│ ├── UWPDevMVA_Runtime/
│ │ ├── UWPDevMVA.sln
│ │ └── UWPDevMVAService/
│ │ ├── App_Start/
│ │ │ └── WebApiConfig.cs
│ │ ├── Controllers/
│ │ │ └── TodoItemController.cs
│ │ ├── DataObjects/
│ │ │ └── TodoItem.cs
│ │ ├── Global.asax
│ │ ├── Global.asax.cs
│ │ ├── Models/
│ │ │ └── UWPDevMVAContext.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── UWPDevMVAService.csproj
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ └── UWPDevMVA_Windows_CS/
│ ├── UWPDevMVA/
│ │ └── UWPDevMVA.WindowsPhone/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DataModel/
│ │ │ └── TodoItem.cs
│ │ ├── MainPage.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── UWPDevMVA.UWP.csproj
│ │ ├── app.config
│ │ └── packages.config
│ └── UWPDevMVA.sln
├── BackgroundExecution/
│ ├── BackgroundExecution.sln
│ ├── BackgroundTask/
│ │ ├── BackgroundTask.csproj
│ │ ├── MyUpdateBadgeTask.cs
│ │ ├── MyUpdateTileTask.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── packages.config
│ └── ForegroundApp/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ApplicationInsights.config
│ ├── Common/
│ │ ├── BackgroundHelper.cs
│ │ └── BootStrapper.cs
│ ├── Converters/
│ │ ├── DateTimeFormatConverter.cs
│ │ └── ValueWhenConverter.cs
│ ├── ForegroundApp.csproj
│ ├── Models/
│ │ ├── Models.readme.htm
│ │ ├── TodoItem.cs
│ │ └── TodoList.cs
│ ├── Mvvm/
│ │ ├── BindableBase.cs
│ │ ├── Command.cs
│ │ └── ViewModelBase.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── Repositories/
│ │ ├── TodoItemRepository.cs
│ │ └── TodoListRepository.cs
│ ├── Services/
│ │ ├── FileService/
│ │ │ ├── FileHelper.cs
│ │ │ └── FileService.cs
│ │ └── NavigationService/
│ │ ├── INavigatable.cs
│ │ ├── NavigationEventArgs.cs
│ │ ├── NavigationFacade.cs
│ │ └── NavigationService.cs
│ ├── Styles/
│ │ └── StarRadioButtonStyle.xaml
│ ├── ViewModels/
│ │ ├── MainPageViewModel.cs
│ │ ├── TodoItemViewModel.cs
│ │ └── TodoListViewModel.cs
│ ├── Views/
│ │ ├── MainPage.xaml
│ │ └── MainPage.xaml.cs
│ └── packages.config
├── Cortana/
│ ├── CortanaTodo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── CortanaTodo.csproj
│ │ ├── Extensions/
│ │ │ └── WeakEvent.cs
│ │ ├── Mvvm/
│ │ │ ├── CommandCollection.cs
│ │ │ ├── CommandHelper.cs
│ │ │ ├── DynamicCommand.cs
│ │ │ ├── ViewModel.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ ├── Lifecycle/
│ │ │ │ └── ILifecycleAware.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigationAware.cs
│ │ │ ├── NavigationEventArgsEx.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ └── MainPageViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ ├── VoiceCommands.xml
│ │ └── packages.config
│ ├── CortanaTodo.Background/
│ │ ├── CortanaTodo.Background.csproj
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── VoiceCommandService.cs
│ │ └── packages.config
│ ├── CortanaTodo.Shared/
│ │ ├── CortanaTodo.Shared.csproj
│ │ ├── Models/
│ │ │ ├── BindableBase.cs
│ │ │ ├── DataObject.cs
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ ├── TaskHelper.cs
│ │ │ └── TodoService.cs
│ │ └── packages.config
│ └── CortanaTodo.sln
├── DragAndDropSample/
│ ├── DragAndDropSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── DragAndDropSample.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ └── packages.config
│ └── DragAndDropSample.sln
├── HelloWorld/
│ └── HelloWorld/
│ ├── Services/
│ │ └── AdService/
│ │ ├── AdHelper.cs
│ │ └── AdService.cs
│ └── ViewModels/
│ └── MainPageViewModel.cs
├── HttpClient WireSerialization/
│ ├── NorthwindService/
│ │ ├── Category.cs
│ │ ├── Customer.cs
│ │ ├── Employee.cs
│ │ ├── Northwind.Context.cs
│ │ ├── Northwind.Context.tt
│ │ ├── Northwind.Designer.cs
│ │ ├── Northwind.cs
│ │ ├── Northwind.edmx
│ │ ├── Northwind.edmx.diagram
│ │ ├── Northwind.svc
│ │ ├── Northwind.svc.cs
│ │ ├── Northwind.tt
│ │ ├── NorthwindService.csproj
│ │ ├── Order.cs
│ │ ├── Order_Detail.cs
│ │ ├── Product.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Shipper.cs
│ │ ├── Supplier.cs
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ ├── UWPclient/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── UWPclient.csproj
│ │ └── packages.config
│ └── WireSerialization.sln
├── KeepTheKeys/
│ ├── KeepTheKeys/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DevicePage.xaml
│ │ ├── DevicePage.xaml.cs
│ │ ├── KeepTheKeys.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── RadioButtonValueConverter.cs
│ ├── KeepTheKeys.sln
│ ├── KeepTheKeysBackground/
│ │ ├── KeepTheKeysBackground.csproj
│ │ ├── KeyFobTask.cs
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ ├── KeepTheKeysCommon/
│ │ ├── AlertLevel.cs
│ │ ├── KeepTheKeysCommon.csproj
│ │ ├── KeyFob.cs
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ └── Notes.txt
├── LaunchForResultsDemo/
│ ├── LaunchForResultsDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── ContinuationPage.xaml
│ │ ├── ContinuationPage.xaml.cs
│ │ ├── LaunchForResultsDemo.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ └── Properties/
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── LaunchForResultsDemo.sln
│ └── LaunchTargetDemoApp/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ApplicationInsights.config
│ ├── LaunchTargetDemoApp.csproj
│ ├── LaunchTargetPage.xaml
│ ├── LaunchTargetPage.xaml.cs
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── Package.appxmanifest
│ └── Properties/
│ ├── AssemblyInfo.cs
│ └── Default.rd.xml
├── LaunchForResultsShoppingDemo/
│ ├── CheckOut/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── CheckOut.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── MakePayment.xaml
│ │ ├── MakePayment.xaml.cs
│ │ ├── Models/
│ │ │ └── Item.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── packages.config
│ ├── LaunchForResultsShoppingDemo.sln
│ └── Shop/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Receipt.xaml
│ ├── Receipt.xaml.cs
│ ├── Shop.csproj
│ ├── ViewModels/
│ │ ├── CanNotifyPropertyChanged.cs
│ │ ├── Command.cs
│ │ ├── MainPageViewModel.cs
│ │ ├── Product.cs
│ │ └── ViewModelLocator.cs
│ └── packages.config
├── MapsDrawingShapes/
│ ├── DrawingShapes/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DrawingShapes.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── MapElementData.cs
│ │ ├── MapExtensions.cs
│ │ ├── Package.appxmanifest
│ │ ├── PointList.cs
│ │ └── Properties/
│ │ └── AssemblyInfo.cs
│ └── DrawingShapes.sln
├── MigrationDemo/
│ ├── Begin/
│ │ └── ContosoCookbook/
│ │ ├── ContosoCookbook/
│ │ │ ├── AboutPage.xaml
│ │ │ ├── AboutPage.xaml.cs
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── Common/
│ │ │ │ ├── NavigationHelper.cs
│ │ │ │ ├── ObservableDictionary.cs
│ │ │ │ ├── ReadMe.txt
│ │ │ │ ├── RelayCommand.cs
│ │ │ │ └── SuspensionManager.cs
│ │ │ ├── ContosoCookbook.csproj
│ │ │ ├── Converters/
│ │ │ │ ├── ImageSourceToStringConverter.cs
│ │ │ │ └── UserImagesDisplayConverter.cs
│ │ │ ├── Data/
│ │ │ │ └── Recipes.txt
│ │ │ ├── DataModel/
│ │ │ │ ├── BindableBase.cs
│ │ │ │ ├── RecipeDataSource.cs
│ │ │ │ └── SampleDataSource.cs
│ │ │ ├── GroupDetailPage.xaml
│ │ │ ├── GroupDetailPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Package.appxmanifest
│ │ │ ├── Properties/
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── RecipeDetailPage.xaml
│ │ │ ├── RecipeDetailPage.xaml.cs
│ │ │ └── Strings/
│ │ │ └── en-US/
│ │ │ └── Resources.resw
│ │ └── ContosoCookbook.sln
│ ├── Controls/
│ │ ├── BackButton.xaml
│ │ └── BackButton.xaml.cs
│ └── End/
│ └── ContosoCookbook/
│ ├── ContosoCookbook/
│ │ ├── AboutPage.xaml
│ │ ├── AboutPage.xaml.cs
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── ReadMe.txt
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── ContosoCookbook.csproj
│ │ ├── Controls/
│ │ │ ├── BackButton.xaml
│ │ │ └── BackButton.xaml.cs
│ │ ├── Converters/
│ │ │ ├── ImageSourceToStringConverter.cs
│ │ │ └── UserImagesDisplayConverter.cs
│ │ ├── Data/
│ │ │ └── Recipes.txt
│ │ ├── DataModel/
│ │ │ ├── BindableBase.cs
│ │ │ ├── RecipeDataSource.cs
│ │ │ └── SampleDataSource.cs
│ │ ├── GroupDetailPage.xaml
│ │ ├── GroupDetailPage.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── RecipeDetailPage.xaml
│ │ ├── RecipeDetailPage.xaml.cs
│ │ └── Strings/
│ │ └── en-US/
│ │ └── Resources.resw
│ └── ContosoCookbook.sln
├── Navigation/
│ └── Blank1/
│ ├── ViewModels/
│ │ └── Page2ViewModel.cs
│ └── Views/
│ └── MainPage.xaml.cs
├── Performance/
│ ├── Performance/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Performance.csproj
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ └── TodoItemRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ ├── IncrementalAccessPageViewModel.cs
│ │ │ ├── RandomAccessPageViewModel.cs
│ │ │ └── TodoItemViewModel.cs
│ │ ├── Views/
│ │ │ ├── DeferedPhasePage.xaml
│ │ │ ├── DeferedPhasePage.xaml.cs
│ │ │ ├── IncrementalAccessPage.xaml
│ │ │ ├── IncrementalAccessPage.xaml.cs
│ │ │ ├── RandomAccessPage.xaml
│ │ │ ├── RandomAccessPage.xaml.cs
│ │ │ ├── ShellPage.xaml
│ │ │ └── ShellPage.xaml.cs
│ │ ├── Virtualize/
│ │ │ ├── IProvider.cs
│ │ │ ├── IncrementalList.cs
│ │ │ ├── ObservableVector.cs
│ │ │ ├── RandomAccessList - Copy.cs
│ │ │ ├── RandomAccessList.cs
│ │ │ └── TodoItemViewModelProvider.cs
│ │ └── packages.config
│ └── Performance.sln
├── ProtocolHandlerDemo/
│ ├── FirstProtocolHandler/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── FirstProtocolHandler.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ └── packages.config
│ ├── ProtocolHandlerDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── ProtocolHandlerDemo.csproj
│ │ └── packages.config
│ ├── ProtocolHandlerDemo.sln
│ └── SecondProtocolHandler/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ApplicationInsights.config
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── SecondProtocolHandler.csproj
│ └── packages.config
├── PushTriggerSample/
│ ├── PushTriggerBackgroundTask/
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── PushTriggerBackgroundTask.csproj
│ │ ├── RawTriggerTask.cs
│ │ └── packages.config
│ ├── PushTriggerSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Helpers/
│ │ │ └── PushHandlingHelper.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── PushTriggerSample.csproj
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── PushTriggerSample.sln
├── README.md
├── RoamingSettingsDemo/
│ ├── RoamingSettingsDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── RoamingSettingsDemo.csproj
│ │ ├── Services/
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── RoamingSettingsDemo.sln
├── SQLiteDemo/
│ ├── SQLiteDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── ReadMe.txt
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── Converters/
│ │ │ └── DateTimeToStringConverter.cs
│ │ ├── CreateDatabase.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── ProjectsPage.xaml
│ │ ├── ProjectsPage.xaml.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── SQLiteDemo.csproj
│ │ ├── ViewModels/
│ │ │ ├── Customer.cs
│ │ │ ├── CustomersViewModel.cs
│ │ │ ├── Project.cs
│ │ │ ├── ProjectsViewModel.cs
│ │ │ ├── TableViewModelBase.cs
│ │ │ └── ViewModelBase.cs
│ │ └── packages.config
│ └── SQLiteDemo.sln
├── ShareContractExample/
│ ├── ContosoCookbook/
│ │ ├── AboutPage.xaml
│ │ ├── AboutPage.xaml.cs
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ ├── NavigationHelper.cs
│ │ │ ├── ObservableDictionary.cs
│ │ │ ├── ReadMe.txt
│ │ │ ├── RelayCommand.cs
│ │ │ └── SuspensionManager.cs
│ │ ├── ContosoCookbook.csproj
│ │ ├── Converters/
│ │ │ ├── ImageSourceToStringConverter.cs
│ │ │ └── UserImagesDisplayConverter.cs
│ │ ├── Data/
│ │ │ └── Recipes.txt
│ │ ├── DataModel/
│ │ │ ├── BindableBase.cs
│ │ │ ├── RecipeDataSource.cs
│ │ │ └── SampleDataSource.cs
│ │ ├── GroupDetailPage.xaml
│ │ ├── GroupDetailPage.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── RecipeDetailPage.xaml
│ │ ├── RecipeDetailPage.xaml.cs
│ │ └── Strings/
│ │ └── en-US/
│ │ └── Resources.resw
│ └── ContosoCookbook.sln
├── SimplePushDemo/
│ ├── SimplePushDemo/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Helpers/
│ │ │ └── PushHandlingHelper.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── SimplePushDemo.csproj
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── SimplePushDemo.sln
├── SplashScreen/
│ └── SplashScreen/
│ ├── SplashScreen-Blank/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── SplashScreen-Blank.csproj
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Splash.xaml
│ │ │ └── Splash.xaml.cs
│ │ └── packages.config
│ ├── SplashScreen-Template10/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ └── NavigationService/
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── SplashScreen-Template10.csproj
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── Splash.xaml
│ │ │ └── Splash.xaml.cs
│ │ └── packages.config
│ └── SplashScreen.sln
├── SplitView/
│ ├── SplitView/
│ │ ├── SplitView-Blank/
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── Mvvm/
│ │ │ │ └── Command.cs
│ │ │ ├── Package.appxmanifest
│ │ │ ├── Properties/
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ └── Default.rd.xml
│ │ │ ├── SplitView-Blank.csproj
│ │ │ └── Views/
│ │ │ ├── AboutPage.xaml
│ │ │ ├── AboutPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── PrivacyPage.xaml
│ │ │ ├── PrivacyPage.xaml.cs
│ │ │ ├── SettingsPage.xaml
│ │ │ ├── SettingsPage.xaml.cs
│ │ │ ├── Shell.xaml
│ │ │ └── Shell.xaml.cs
│ │ └── SplitView-Template10/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ ├── KeyboardService/
│ │ │ │ ├── KeyboardEventArgs.cs
│ │ │ │ ├── KeyboardHelper.cs
│ │ │ │ └── KeyboardService.cs
│ │ │ └── NavigationService/
│ │ │ ├── FrameFacade.cs
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigatedEventArgs.cs
│ │ │ ├── NavigatingEventArgs.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── SplitView-Template10.csproj
│ │ ├── Styles/
│ │ │ └── SplitViewStyles.xaml
│ │ ├── Views/
│ │ │ ├── AboutPage.xaml
│ │ │ ├── AboutPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── PrivacyPage.xaml
│ │ │ ├── PrivacyPage.xaml.cs
│ │ │ ├── SettingsPage.xaml
│ │ │ ├── SettingsPage.xaml.cs
│ │ │ ├── Shell.xaml
│ │ │ └── Shell.xaml.cs
│ │ └── packages.config
│ └── SplitView.sln
├── SuspendResume/
│ ├── Blank1/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Blank1.csproj
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Services/
│ │ │ ├── KeyboardService/
│ │ │ │ ├── KeyboardEventArgs.cs
│ │ │ │ ├── KeyboardHelper.cs
│ │ │ │ └── KeyboardService.cs
│ │ │ └── NavigationService/
│ │ │ ├── FrameFacade.cs
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigatedEventArgs.cs
│ │ │ ├── NavigatingEventArgs.cs
│ │ │ └── NavigationService.cs
│ │ ├── ViewModels/
│ │ │ ├── DetailsPageViewModel.cs
│ │ │ └── MainPageViewModel.cs
│ │ ├── Views/
│ │ │ ├── DetailsPage.xaml
│ │ │ ├── DetailsPage.xaml.cs
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── SuspendResume.sln
├── TODOFileHandlingSample/
│ ├── TODOFileHandlingSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOFileHandlingSample.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOFileHandlingSample.sln
├── TODOFilePickerSample/
│ ├── TODOFilePickerSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOFilePickerSample.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOFilePickerSample.sln
├── TODOPivot/
│ ├── TODOPivot/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOPivot.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOPivot.sln
├── TODOSQLiteSample/
│ ├── TODOSQLiteSample/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── Converters.readme.htm
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── Models/
│ │ │ ├── Models.readme.htm
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TableSQLiteRepoBase.cs
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ ├── NavigationService/
│ │ │ │ ├── INavigatable.cs
│ │ │ │ ├── NavigationEventArgs.cs
│ │ │ │ ├── NavigationFacade.cs
│ │ │ │ └── NavigationService.cs
│ │ │ └── SQLiteService/
│ │ │ └── SQLiteService.cs
│ │ ├── Styles/
│ │ │ ├── PivotTabsStyle.xaml
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── TODOSQLiteSample.csproj
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ ├── MainPage.xaml.cs
│ │ │ ├── ToDoEditorContentDialog.xaml
│ │ │ └── ToDoEditorContentDialog.xaml.cs
│ │ └── packages.config
│ └── TODOSQLiteSample.sln
├── VideoInterstitialAd/
│ ├── HelloWorld/
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationInsights.config
│ │ ├── Common/
│ │ │ └── BootStrapper.cs
│ │ ├── Converters/
│ │ │ ├── DateTimeFormatConverter.cs
│ │ │ └── ValueWhenConverter.cs
│ │ ├── HelloWorld.csproj
│ │ ├── Models/
│ │ │ ├── TodoItem.cs
│ │ │ └── TodoList.cs
│ │ ├── Mvvm/
│ │ │ ├── BindableBase.cs
│ │ │ ├── Command.cs
│ │ │ └── ViewModelBase.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── Repositories/
│ │ │ ├── TodoItemRepository.cs
│ │ │ └── TodoListRepository.cs
│ │ ├── Services/
│ │ │ ├── AdService/
│ │ │ │ ├── AdHelper.cs
│ │ │ │ └── AdService.cs
│ │ │ ├── FileService/
│ │ │ │ ├── FileHelper.cs
│ │ │ │ └── FileService.cs
│ │ │ ├── InAppPurchaseService/
│ │ │ │ ├── InAppPurchaseHelper.cs
│ │ │ │ └── InAppPurchaseService.cs
│ │ │ └── NavigationService/
│ │ │ ├── INavigatable.cs
│ │ │ ├── NavigationEventArgs.cs
│ │ │ ├── NavigationFacade.cs
│ │ │ └── NavigationService.cs
│ │ ├── Styles/
│ │ │ └── StarRadioButtonStyle.xaml
│ │ ├── ViewModels/
│ │ │ ├── MainPageViewModel.cs
│ │ │ ├── TodoItemViewModel.cs
│ │ │ └── TodoListViewModel.cs
│ │ ├── Views/
│ │ │ ├── MainPage.xaml
│ │ │ └── MainPage.xaml.cs
│ │ └── packages.config
│ └── HelloWorld.sln
└── XamlControls/
├── XamlControls-Blank/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Models/
│ │ ├── MenuItem.cs
│ │ ├── TodoItem.cs
│ │ └── TodoList.cs
│ ├── Mvvm/
│ │ ├── BindableBase.cs
│ │ └── Command.cs
│ ├── Package.appxmanifest
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── ViewModels/
│ │ └── SampleViewModel.cs
│ ├── Views/
│ │ ├── GeometryControls.xaml
│ │ ├── GeometryControls.xaml.cs
│ │ ├── InputControls.xaml
│ │ ├── InputControls.xaml.cs
│ │ ├── ItemsControls.xaml
│ │ ├── ItemsControls.xaml.cs
│ │ ├── LayoutControls.xaml
│ │ ├── LayoutControls.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Transforms.xaml
│ │ └── Transforms.xaml.cs
│ └── XamlControls-Blank.csproj
└── XamlControls.sln
Showing preview only (314K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (2973 symbols across 484 files)
FILE: ActionCenterDemo/ActionCenterDemo/App.xaml.cs
class App (line 6) | sealed partial class App : Common.ApplicationBase
method App (line 8) | public App() : base()
method OnLaunchedAsync (line 13) | protected override Task OnLaunchedAsync(LaunchActivatedEventArgs e)
FILE: ActionCenterDemo/ActionCenterDemo/Common/ApplicationBase.cs
class ApplicationBase (line 16) | public abstract partial class ApplicationBase : Application
method ApplicationBase (line 18) | public ApplicationBase()
method HandleResuming (line 32) | protected virtual void HandleResuming(object s, object e) { }
method HandleSuspendingAsync (line 33) | protected virtual Task HandleSuspendingAsync(object s, SuspendingEvent...
method OnInitializeAsync (line 37) | protected virtual Task OnInitializeAsync() { return Task.FromResult<ob...
method OnActivatedAsync (line 39) | protected virtual Task OnActivatedAsync(IActivatedEventArgs e) { retur...
method OnActivatedByProtocolAsync (line 40) | protected virtual Task OnActivatedByProtocolAsync(ProtocolActivatedEve...
method OnActivatedByPrimaryTileAsync (line 41) | protected virtual Task OnActivatedByPrimaryTileAsync(LaunchActivatedEv...
method OnActivatedBySecondaryTileAsync (line 42) | protected virtual Task OnActivatedBySecondaryTileAsync(LaunchActivated...
method OnActivatedByToastNotificationAsync (line 43) | protected virtual Task OnActivatedByToastNotificationAsync(LaunchActiv...
method OnActivated (line 45) | protected override async void OnActivated(IActivatedEventArgs e)
method OnLaunchedAsync (line 71) | protected virtual Task OnLaunchedAsync(LaunchActivatedEventArgs e) { r...
method OnLaunchedByProtocolAsync (line 72) | protected virtual Task OnLaunchedByProtocolAsync(LaunchActivatedEventA...
method OnLaunchedByPrimaryTileAsync (line 73) | protected virtual Task OnLaunchedByPrimaryTileAsync(LaunchActivatedEve...
method OnLaunchedBySecondaryTileAsync (line 74) | protected virtual Task OnLaunchedBySecondaryTileAsync(LaunchActivatedE...
method OnLaunchedByToastNotificationAsync (line 75) | protected virtual Task OnLaunchedByToastNotificationAsync(LaunchActiva...
method OnLaunched (line 77) | protected override async void OnLaunched(LaunchActivatedEventArgs e)
FILE: ActionCenterDemo/ActionCenterDemo/Common/MVVM.cs
class Command (line 11) | public class Command
method Command (line 14) | public Command(Action execute) : base(execute) { }
method Command (line 15) | public Command(Action execute, Func<bool> canExecute) : base(execute, ...
method Command (line 22) | public Command(Action<T> execute) : base(execute) { }
method Command (line 23) | public Command(Action<T> execute, Func<T, bool> canExecute) : base(exe...
class Command (line 19) | public class Command<T>
method Command (line 14) | public Command(Action execute) : base(execute) { }
method Command (line 15) | public Command(Action execute, Func<bool> canExecute) : base(execute, ...
method Command (line 22) | public Command(Action<T> execute) : base(execute) { }
method Command (line 23) | public Command(Action<T> execute, Func<T, bool> canExecute) : base(exe...
class ViewModelBase (line 27) | public abstract class ViewModelBase
method OnNavigatedTo (line 30) | public virtual void OnNavigatedTo(string parameter, NavigationMode mod...
method OnNavigatedFrom (line 31) | public virtual void OnNavigatedFrom(Dictionary<string, object> state, ...
type IMessage (line 35) | public interface IMessage { }
class Message (line 38) | public class Message<T>
class Messenger (line 43) | public class Messenger : GalaSoft.MvvmLight.Messaging.Messenger
method Subscribe (line 45) | public void Subscribe<T>(object recipient, Action<T> action)
method Unsubscribe (line 49) | public void Unsubscribe<T>(object recipient)
method Publish (line 53) | public void Publish<T>(T message)
FILE: ActionCenterDemo/ActionCenterDemo/Converters/BoolToColorConverter.cs
class BoolToColorConverter (line 11) | public class BoolToColorConverter : IValueConverter
method Convert (line 13) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 22) | public object ConvertBack(object value, Type targetType, object parame...
FILE: ActionCenterDemo/ActionCenterDemo/Converters/CountToVisibilityConverter.cs
class CountToVisibilityConverter (line 11) | public class CountToVisibilityConverter : IValueConverter
method Convert (line 13) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 18) | public object ConvertBack(object value, Type targetType, object parame...
FILE: ActionCenterDemo/ActionCenterDemo/Models/MessageItem.cs
class MessageItem (line 9) | public sealed class MessageItem
FILE: ActionCenterDemo/ActionCenterDemo/Models/ToastParams.cs
class ToastParams (line 9) | class ToastParams
FILE: ActionCenterDemo/ActionCenterDemo/Repositories/MessageItemRepository.cs
class MessageItemRepository (line 13) | class MessageItemRepository
method MessageItemRepository (line 17) | private MessageItemRepository()
method LoadData (line 22) | public void LoadData()
method GetInstance (line 35) | public static MessageItemRepository GetInstance()
method GetAllMessageItems (line 44) | public IEnumerable<Models.MessageItem> GetAllMessageItems()
method AddAsync (line 49) | public async Task AddAsync(MessageItem messageItem)
method RemoveAsync (line 54) | public async Task RemoveAsync(string iD)
method UpdateAsync (line 63) | public async Task UpdateAsync(MessageItem messageItem)
method Find (line 77) | public IEnumerable<MessageItem> Find(Func<MessageItem, bool> predicate)
method PersistAsync (line 82) | private async Task PersistAsync()
method SaveChanges (line 87) | public void SaveChanges()
FILE: ActionCenterDemo/ActionCenterDemo/Services/DispatcherService.cs
class DispatchService (line 9) | public static class DispatchService
method InvokeAsync (line 11) | public static async void InvokeAsync(Action action)
FILE: ActionCenterDemo/ActionCenterDemo/Services/NavigationService.cs
class NavigationService (line 13) | public class NavigationService
method NavigationService (line 21) | public NavigationService(Frame frame)
method NavigateFrom (line 28) | void NavigateFrom(bool suspending)
method NavigateTo (line 42) | void NavigateTo(NavigationMode mode, string parameter)
method Navigate (line 64) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 73) | public void RestoreSavedNavigation() { /* TODO */ }
method GoBack (line 75) | public void GoBack() { _frame.GoBack(); }
method GoForward (line 79) | public void GoForward() { _frame.GoForward(); }
method ClearHistory (line 83) | public void ClearHistory() { _frame.SetNavigationState("1,0"); }
method Suspending (line 85) | public void Suspending() { NavigateFrom(true); }
method Show (line 87) | public void Show(SettingsFlyout flyout, string parameter = null)
class NavigationFacade (line 102) | public class NavigationFacade
method NavigationFacade (line 104) | public NavigationFacade(Frame frame)
method Navigate (line 114) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 116) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 118) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 124) | public void GoBack() { _frame.GoBack(); }
method GoForward (line 128) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 136) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 138) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 140) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 168) | void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Naviga...
method FacadeNavigatingCancelEventHandler (line 206) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
class NavigationEventArgs (line 215) | public class NavigationEventArgs : EventArgs
FILE: ActionCenterDemo/ActionCenterDemo/Services/TileServices.cs
class TileServices (line 11) | public class TileServices
method SetBadgeCountOnTile (line 13) | static public void SetBadgeCountOnTile(int count)
FILE: ActionCenterDemo/ActionCenterDemo/ViewModels/DetailPageViewModel.cs
class DetailPageViewModel (line 16) | public class DetailPageViewModel : Common.ViewModelBase
method DetailPageViewModel (line 20) | public DetailPageViewModel()
method OnNavigatedTo (line 26) | public override async void OnNavigatedTo(string parameter, NavigationM...
method LoadDesignData (line 53) | private void LoadDesignData()
method LoadRuntimeDataAsync (line 58) | private async Task LoadRuntimeDataAsync(string parameter)
FILE: ActionCenterDemo/ActionCenterDemo/ViewModels/MainPageViewModel.cs
class MainPageViewModel (line 18) | class MainPageViewModel : Common.ViewModelBase
method MainPageViewModel (line 20) | public MainPageViewModel()
method OnNavigatedTo (line 32) | public override async void OnNavigatedTo(string parameter, NavigationM...
method LoadDesigntimeData (line 39) | private void LoadDesigntimeData()
method LoadRuntimeDataAsync (line 52) | private async Task LoadRuntimeDataAsync()
method DeliverToast (line 145) | private void DeliverToast(MessageItem msgItem)
method SetBadgeCountOnTileandSim (line 211) | private void SetBadgeCountOnTileandSim()
method Register (line 244) | public async Task Register()
method Mytask_Completed (line 261) | private async void Mytask_Completed(BackgroundTaskRegistration sender,...
method IsTaskRegistered (line 270) | public bool IsTaskRegistered()
FILE: ActionCenterDemo/ActionCenterDemo/Views/DetailPage.xaml.cs
class DetailPage (line 5) | public sealed partial class DetailPage : Page
method DetailPage (line 7) | public DetailPage()
FILE: ActionCenterDemo/ActionCenterDemo/Views/MainPage.xaml.cs
class MainPage (line 25) | public sealed partial class MainPage : Page
method MainPage (line 27) | public MainPage()
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/ActionCenterChangedBackgroundTask.cs
class ActionCenterChangedBackgroundTask (line 13) | public sealed class ActionCenterChangedBackgroundTask : IBackgroundTask
method Run (line 15) | public void Run(IBackgroundTaskInstance taskInstance)
method UpdateAppData (line 36) | private static void UpdateAppData(IReadOnlyList<ToastNotification> toa...
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/MessageItem.cs
class MessageItem (line 9) | class MessageItem
FILE: ActionCenterDemo/ActionCenterHistoryChangedTask/ToastParams.cs
class ToastParams (line 9) | class ToastParams
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/App.xaml.cs
class App (line 26) | public sealed partial class App : Application
method App (line 34) | public App()
method OnLaunched (line 46) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method RootFrame_FirstNavigated (line 109) | private void RootFrame_FirstNavigated(object sender, NavigationEventAr...
method OnSuspending (line 123) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/MainPage.xaml.cs
class MainPage (line 12) | public sealed partial class MainPage : Page
method MainPage (line 16) | public MainPage()
method MainPage_VisibleBoundsChanged (line 28) | void MainPage_VisibleBoundsChanged(Windows.UI.ViewManagement.Applicati...
method OnNavigatedTo (line 38) | protected override void OnNavigatedTo(NavigationEventArgs e)
method ReportVisibleBounds (line 43) | private void ReportVisibleBounds()
method RadioButton_Checked (line 53) | private void RadioButton_Checked(object sender, RoutedEventArgs e)
method StatusBarHiddenCheckBox_Checked (line 83) | private void StatusBarHiddenCheckBox_Checked(object sender, RoutedEven...
method StatusBarHiddenCheckBox_Unchecked (line 92) | private void StatusBarHiddenCheckBox_Unchecked(object sender, RoutedEv...
method StatusBarBackgroundCheckBox_Checked (line 101) | private void StatusBarBackgroundCheckBox_Checked(object sender, Routed...
method StatusBarBackgroundCheckBox_Unchecked (line 111) | private void StatusBarBackgroundCheckBox_Unchecked(object sender, Rout...
method ExtendViewButton_Checked (line 120) | private void ExtendViewButton_Checked(object sender, RoutedEventArgs e)
method ColourTitleBarButtons_Checked (line 128) | private void ColourTitleBarButtons_Checked(object sender, RoutedEventA...
FILE: AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/Triggers/DeviceFamilyTrigger.cs
class DeviceFamilyTrigger (line 5) | public class DeviceFamilyTrigger : StateTriggerBase
FILE: AdaptiveUI/AdaptiveUI/App.xaml.cs
class App (line 16) | sealed partial class App : Application
method App (line 22) | public App()
method OnLaunched (line 33) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 75) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 87) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AdaptiveUI/AdaptiveUI/Controls/AutoNavButton.cs
type AutoNavMode (line 22) | public enum AutoNavMode
class AutoNavButton (line 41) | public sealed class AutoNavButton : Control
method OnModeChanged (line 60) | private static void OnModeChanged(DependencyObject d, DependencyProper...
method AutoNavButton (line 71) | public AutoNavButton()
method CalculateState (line 81) | private void CalculateState()
method FindFrame (line 125) | private Frame FindFrame()
method SetEnabled (line 132) | private void SetEnabled(bool enabled)
method TryNavigate (line 149) | private bool TryNavigate()
method AutoNavButton_Loaded (line 199) | private void AutoNavButton_Loaded(object sender, RoutedEventArgs e)
method AutoNavButton_Unloaded (line 211) | private void AutoNavButton_Unloaded(object sender, RoutedEventArgs e)
method NavButton_Click (line 220) | private void NavButton_Click(object sender, RoutedEventArgs e)
method HardwareButtons_BackPressed (line 225) | private void HardwareButtons_BackPressed(object sender, BackPressedEve...
method OnApplyTemplate (line 239) | protected override void OnApplyTemplate()
method OnModeChanged (line 267) | private void OnModeChanged(DependencyPropertyChangedEventArgs e)
FILE: AdaptiveUI/AdaptiveUI/Extensions/WeakEvent.cs
class EventWatcher (line 16) | public class EventWatcher : IDisposable
method EventWatcher (line 35) | public EventWatcher(object source, string eventName)
method CreateHandlerDelegate (line 49) | private void CreateHandlerDelegate(Type signature)
method Subscribe (line 83) | private void Subscribe(object source, string eventName)
method Dispose (line 123) | void IDisposable.Dispose()
method OnEventRaised (line 141) | protected virtual void OnEventRaised(params object[] parameters)
class WeakEvent (line 151) | public class WeakEvent : EventWatcher
class WeakSubscription (line 155) | private class WeakSubscription
method WeakSubscription (line 157) | public WeakSubscription(Delegate del)
class SubscriberCollection (line 166) | private class SubscriberCollection : Collection<WeakSubscription> { }
method FindRegistration (line 176) | static private WeakEvent FindRegistration(object source, string eventN...
method VerifyDelegate (line 210) | static private void VerifyDelegate<THandler>() where THandler : class
method Subscribe (line 233) | static public void Subscribe<THandler>(object source, string eventName...
method Unsubscribe (line 273) | static public void Unsubscribe<THandler>(object source, string eventNa...
method WeakEvent (line 308) | private WeakEvent(object source, string eventName) : base(source, even...
method FindSubscription (line 317) | private WeakSubscription FindSubscription(Delegate handler)
method OnEventRaised (line 353) | protected override void OnEventRaised(params object[] parameters)
method Subscribe (line 394) | private void Subscribe(Delegate handler)
method Unsubscribe (line 412) | private void Unsubscribe(Delegate handler)
FILE: AdaptiveUI/AdaptiveUI/Model/SampleInfo.cs
class SampleInfo (line 13) | public class SampleInfo
FILE: AdaptiveUI/AdaptiveUI/Triggers/ApiInformationTrigger.cs
class ApiInformationTrigger (line 14) | public class ApiInformationTrigger : StateTriggerBase
method ApiInformationTrigger (line 21) | public ApiInformationTrigger()
method EvaluateTrigger (line 32) | private void EvaluateTrigger()
FILE: AdaptiveUI/AdaptiveUI/Triggers/ControlSizeTrigger.cs
class ControlSizeTrigger (line 10) | public class ControlSizeTrigger : StateTriggerBase
method _targetElement_SizeChanged (line 52) | private void _targetElement_SizeChanged(object sender, SizeChangedEven...
method UpdateTrigger (line 59) | private void UpdateTrigger()
FILE: AdaptiveUI/AdaptiveUI/Triggers/DeviceFamilyTrigger.cs
class DeviceFamilyTrigger (line 10) | public class DeviceFamilyTrigger : StateTriggerBase
FILE: AdaptiveUI/AdaptiveUI/Triggers/InputTypeTrigger.cs
class InputTypeTrigger (line 12) | public class InputTypeTrigger : StateTriggerBase
method _targetElement_PointerPressed (line 42) | private void _targetElement_PointerPressed(object sender, PointerRoute...
method UpdateTrigger (line 48) | public void UpdateTrigger()
FILE: AdaptiveUI/AdaptiveUI/Triggers/InteractionModeTrigger.cs
class InteractionModeTrigger (line 6) | class InteractionModeTrigger : StateTriggerBase
method InteractionModeTrigger (line 8) | public InteractionModeTrigger()
method Update (line 20) | void Update()
FILE: AdaptiveUI/AdaptiveUI/Triggers/NetworkAvailableStateTrigger.cs
class NetworkAvailableStateTrigger (line 11) | public class NetworkAvailableStateTrigger : StateTriggerBase
method NetworkAvailableStateTrigger (line 13) | public NetworkAvailableStateTrigger()
method NetworkInformation_NetworkStatusChanged (line 19) | private async void NetworkInformation_NetworkStatusChanged(object sender)
method UpdateState (line 24) | private void UpdateState()
method OnConnectionStatePropertyChanged (line 46) | private static void OnConnectionStatePropertyChanged(DependencyObject ...
type ConnectionState (line 53) | public enum ConnectionState
FILE: AdaptiveUI/AdaptiveUI/Triggers/OrientationTrigger.cs
class OrientationTrigger (line 16) | public class OrientationTrigger : StateTriggerBase
method OrientationTrigger (line 22) | public OrientationTrigger()
method CalculateState (line 37) | private void CalculateState()
method Window_SizeChanged (line 54) | private void Window_SizeChanged(object sender, WindowSizeChangedEventA...
FILE: AdaptiveUI/AdaptiveUI/Views/ApiInformationPage.xaml.cs
class ApiInformationPage (line 23) | public sealed partial class ApiInformationPage : Page
method ApiInformationPage (line 25) | public ApiInformationPage()
FILE: AdaptiveUI/AdaptiveUI/Views/MainPage.xaml.cs
class MainPage (line 27) | public sealed partial class MainPage : Page
method MainPage (line 29) | public MainPage()
method SampleGrid_ItemClick (line 34) | private void SampleGrid_ItemClick(object sender, ItemClickEventArgs e)
FILE: AdaptiveUI/AdaptiveUI/Views/OrientationPage.xaml.cs
class OrientationPage (line 23) | public sealed partial class OrientationPage : Page
method OrientationPage (line 25) | public OrientationPage()
FILE: AdaptiveUI/AdaptiveUI/Views/WindowSizePage.xaml.cs
class WindowSizePage (line 23) | public sealed partial class WindowSizePage : Page
method WindowSizePage (line 25) | public WindowSizePage()
FILE: AppService/AppService_EncoderDecoder/ClientApp/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 36) | public App()
method OnLaunched (line 49) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 95) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 107) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AppService/AppService_EncoderDecoder/ClientApp/MainPage.xaml.cs
class MainPage (line 27) | public sealed partial class MainPage : Page
method MainPage (line 33) | public MainPage()
method ButtonEncode_Click (line 38) | private async void ButtonEncode_Click(object sender, RoutedEventArgs e)
method ButtonDecode_Click (line 43) | private async void ButtonDecode_Click(object sender, RoutedEventArgs e)
method CallServiceAsync (line 49) | private async Task<string> CallServiceAsync(string command)
FILE: AppService/AppService_EncoderDecoder/ServerApp/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 36) | public App()
method OnLaunched (line 49) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 95) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 107) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AppService/AppService_EncoderDecoder/ServerApp/MainPage.xaml.cs
class MainPage (line 25) | public sealed partial class MainPage : Page
method MainPage (line 27) | public MainPage()
method ShowPFN (line 35) | private async void ShowPFN()
FILE: AppService/AppService_EncoderDecoder/TextEncoderComponent/EncoderDecoderTask.cs
class EncoderDecoderTask (line 14) | public sealed class EncoderDecoderTask : IBackgroundTask
method Run (line 18) | public void Run(IBackgroundTaskInstance taskInstance)
method TaskInstance_Canceled (line 35) | private void TaskInstance_Canceled(IBackgroundTaskInstance sender, Bac...
method OnRequestReceived (line 40) | private async void OnRequestReceived(AppServiceConnection sender, AppS...
method Encode (line 81) | public string Encode(string txt)
method Decode (line 87) | public string Decode(string encodedString)
FILE: AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 31) | public App()
method OnLaunched (line 42) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 90) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 102) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/MainPage.xaml.cs
class MainPage (line 15) | public sealed partial class MainPage : Page
method MainPage (line 19) | public MainPage()
method CallAppService (line 24) | private async void CallAppService()
method EnsureConnectionToService (line 43) | private async System.Threading.Tasks.Task EnsureConnectionToService()
method OnServiceClosed (line 68) | private void OnServiceClosed(AppServiceConnection sender, AppServiceCl...
method button_Click (line 73) | private void button_Click(object sender, RoutedEventArgs e)
method QuitButton_Click (line 78) | private async void QuitButton_Click(object sender, RoutedEventArgs e)
method ClearServiceConnection (line 92) | private void ClearServiceConnection()
FILE: AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 31) | public App()
method OnLaunched (line 42) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 90) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 102) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/MainPage.xaml.cs
class MainPage (line 12) | public sealed partial class MainPage : Page
method MainPage (line 14) | public MainPage()
FILE: AppServicesDemo/SimpleCalculatorAppService/AppServicesDemoTask/AppServiceTask.cs
class AppServiceTask (line 15) | public sealed class AppServiceTask : IBackgroundTask
method Run (line 19) | public void Run(IBackgroundTaskInstance taskInstance)
method AppServiceConnection_RequestReceived (line 36) | private async void AppServiceConnection_RequestReceived(AppServiceConn...
method TaskInstance_Canceled (line 70) | private void TaskInstance_Canceled(IBackgroundTaskInstance sender, Bac...
FILE: AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 31) | public App()
method OnLaunched (line 42) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 90) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 102) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/MainPage.xaml.cs
class MainPage (line 26) | public sealed partial class MainPage : Page
method MainPage (line 28) | public MainPage()
method CallAppService (line 36) | private async void CallAppService()
method EnsureConnectionToService (line 59) | private async System.Threading.Tasks.Task EnsureConnectionToService()
method OnServiceClosed (line 85) | private void OnServiceClosed(AppServiceConnection sender, AppServiceCl...
method button_Click (line 90) | private void button_Click(object sender, RoutedEventArgs e)
method QuitButton_Click (line 95) | private async void QuitButton_Click(object sender, RoutedEventArgs e)
method ClearServiceConnection (line 109) | private void ClearServiceConnection()
method GetSynonymsButton_Click (line 182) | private async void GetSynonymsButton_Click(object sender, RoutedEventA...
method DisplaySynonymsResponse (line 196) | private async System.Threading.Tasks.Task DisplaySynonymsResponse(Syno...
FILE: AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 31) | public App()
method OnLaunched (line 42) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 90) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 102) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/MainPage.xaml.cs
class MainPage (line 26) | public sealed partial class MainPage : Page
method MainPage (line 28) | public MainPage()
method Button_Click (line 41) | private async void Button_Click(object sender, RoutedEventArgs e)
FILE: AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemoTask/AppServiceTask.cs
class AppServiceTask (line 15) | public sealed class AppServiceTask : IBackgroundTask
method Run (line 19) | public void Run(IBackgroundTaskInstance taskInstance)
method AppServiceConnection_RequestReceived (line 36) | private async void AppServiceConnection_RequestReceived(AppServiceConn...
method TaskInstance_Canceled (line 70) | private void TaskInstance_Canceled(IBackgroundTaskInstance sender, Bac...
FILE: AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/BingSynonymsResponse.cs
class Metadata (line 10) | [DataContract]
class Result (line 20) | [DataContract]
class D (line 29) | [DataContract]
class BingSynonymsResponse (line 36) | [DataContract]
FILE: AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/JSONHelper.cs
class JSONHelper (line 7) | class JSONHelper
method DeserializeObject (line 9) | public static T DeserializeObject<T>(string objString)
method SerializeObject (line 18) | public static string SerializeObject<T>(T obj)
FILE: AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/SynonymApi.cs
class SynonymApi (line 14) | class SynonymApi
method SynonymApi (line 21) | public SynonymApi(string apiKey)
method GetSynonymsAsync (line 29) | public async Task<IEnumerable<string>> GetSynonymsAsync(string term)
FILE: AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/SynonymsServiceTask.cs
class SynonymsServiceTask (line 13) | public sealed class SynonymsServiceTask : IBackgroundTask
method Run (line 20) | public void Run(IBackgroundTaskInstance taskInstance)
method AppServiceConnection_RequestReceived (line 36) | private async void AppServiceConnection_RequestReceived(AppServiceConn...
method TaskInstance_Canceled (line 93) | private void TaskInstance_Canceled(IBackgroundTaskInstance sender, Bac...
FILE: AppServicesDemo/SynonymsAppServiceDemo/SynonymsServiceClientLibrary/SynonymsServiceClient.cs
class SynonymsServiceClient (line 11) | public class SynonymsServiceClient
method GetSynonymsAsync (line 17) | public async Task<SynonymsServiceResponse> GetSynonymsAsync(string term)
method EnsureConnectionToSynonymsService (line 54) | private async System.Threading.Tasks.Task EnsureConnectionToSynonymsSe...
method CloseSynonymsServiceAsync (line 86) | public async Task CloseSynonymsServiceAsync()
method ClearSynonymServiceConnection (line 99) | private void ClearSynonymServiceConnection()
FILE: AppServicesDemo/SynonymsAppServiceDemo/SynonymsServiceClientLibrary/SynonymsServiceResponse.cs
class SynonymsServiceResponse (line 10) | public class SynonymsServiceResponse
FILE: AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/App_Start/WebApiConfig.cs
class WebApiConfig (line 12) | public static class WebApiConfig
method Register (line 14) | public static void Register()
class UWPDevMVAInitializer (line 32) | public class UWPDevMVAInitializer : ClearDatabaseSchemaIfModelChanges<UW...
method Seed (line 34) | protected override void Seed(UWPDevMVAContext context)
FILE: AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Controllers/TodoItemController.cs
class TodoItemController (line 12) | public class TodoItemController : TableController<TodoItem>
method Initialize (line 14) | protected override void Initialize(HttpControllerContext controllerCon...
method GetAllTodoItems (line 22) | public IQueryable<TodoItem> GetAllTodoItems()
method GetTodoItem (line 28) | public SingleResult<TodoItem> GetTodoItem(string id)
method PatchTodoItem (line 34) | public Task<TodoItem> PatchTodoItem(string id, Delta<TodoItem> patch)
method PostTodoItem (line 40) | public async Task<IHttpActionResult> PostTodoItem(TodoItem item)
method DeleteTodoItem (line 47) | public Task DeleteTodoItem(string id)
FILE: AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/DataObjects/TodoItem.cs
class TodoItem (line 5) | public class TodoItem : EntityData
FILE: AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Global.asax.cs
class WebApiApplication (line 6) | public class WebApiApplication : System.Web.HttpApplication
method Application_Start (line 8) | protected void Application_Start()
FILE: AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Models/UWPDevMVAContext.cs
class UWPDevMVAContext (line 10) | public class UWPDevMVAContext : DbContext
method UWPDevMVAContext (line 24) | public UWPDevMVAContext() : base(connectionStringName)
method OnModelCreating (line 30) | protected override void OnModelCreating(DbModelBuilder modelBuilder)
FILE: AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/App.xaml.cs
class App (line 24) | sealed partial class App : Application
method App (line 45) | public App()
method OnLaunched (line 60) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 101) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 113) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/DataModel/TodoItem.cs
class TodoItem (line 8) | public class TodoItem
FILE: AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/MainPage.cs
class MainPage (line 19) | sealed partial class MainPage: Page
method MainPage (line 25) | public MainPage()
method InsertTodoItem (line 30) | private async Task InsertTodoItem(TodoItem todoItem)
method RefreshTodoItems (line 40) | private async Task RefreshTodoItems()
method UpdateCheckedTodoItem (line 67) | private async Task UpdateCheckedTodoItem(TodoItem item)
method ButtonRefresh_Click (line 78) | private async void ButtonRefresh_Click(object sender, RoutedEventArgs e)
method ButtonSave_Click (line 88) | private async void ButtonSave_Click(object sender, RoutedEventArgs e)
method CheckBoxComplete_Checked (line 94) | private async void CheckBoxComplete_Checked(object sender, RoutedEvent...
method OnNavigatedTo (line 101) | protected override async void OnNavigatedTo(NavigationEventArgs e)
method InitLocalStoreAsync (line 109) | private async Task InitLocalStoreAsync()
method SyncAsync (line 121) | private async Task SyncAsync()
FILE: AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/MainPage.xaml.cs
class MainPage (line 5) | public sealed partial class MainPage : Page
FILE: BackgroundExecution/BackgroundTask/MyUpdateBadgeTask.cs
class MyUpdateBadgeTask (line 13) | public sealed class MyUpdateBadgeTask : IBackgroundTask
method Run (line 15) | public void Run(IBackgroundTaskInstance taskInstance)
method UpdateTile (line 53) | public static void UpdateTile(int value)
FILE: BackgroundExecution/BackgroundTask/MyUpdateTileTask.cs
class MyUpdateTileTask (line 23) | public sealed class MyUpdateTileTask : XamlRenderingBackgroundTask
method OnRun (line 25) | protected override async void OnRun(IBackgroundTaskInstance taskInstance)
method UpdateTileAsync (line 59) | private async Task UpdateTileAsync()
FILE: BackgroundExecution/ForegroundApp/App.xaml.cs
class App (line 7) | sealed partial class App : Common.BootStrapper
method App (line 9) | public App() : base()
method OnLaunchedAsync (line 14) | public override Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
FILE: BackgroundExecution/ForegroundApp/Common/BackgroundHelper.cs
class BackgroundHelper (line 10) | public static class BackgroundHelper
method FindRegistration (line 12) | public static IBackgroundTaskRegistration FindRegistration<T>() where ...
method Register (line 20) | public async static Task<BackgroundTaskRegistration> Register<T>(IBack...
method Unregister (line 54) | public async static Task<bool> Unregister<T>() where T : class
FILE: BackgroundExecution/ForegroundApp/Common/BootStrapper.cs
class BootStrapper (line 16) | public abstract class BootStrapper : Application
method BootStrapper (line 26) | public BootStrapper()
method OnActivated (line 51) | protected override async void OnActivated(IActivatedEventArgs e) { awa...
method OnCachedFileUpdaterActivated (line 52) | protected override async void OnCachedFileUpdaterActivated(CachedFileU...
method OnFileActivated (line 53) | protected override async void OnFileActivated(FileActivatedEventArgs a...
method OnFileOpenPickerActivated (line 54) | protected override async void OnFileOpenPickerActivated(FileOpenPicker...
method OnFileSavePickerActivated (line 55) | protected override async void OnFileSavePickerActivated(FileSavePicker...
method OnSearchActivated (line 56) | protected override async void OnSearchActivated(SearchActivatedEventAr...
method OnShareTargetActivated (line 57) | protected override async void OnShareTargetActivated(ShareTargetActiva...
method InternalActivatedAsync (line 59) | private async Task InternalActivatedAsync(IActivatedEventArgs e)
method OnLaunched (line 67) | protected override void OnLaunched(LaunchActivatedEventArgs e) { Inter...
method InternalLaunchAsync (line 69) | private async void InternalLaunchAsync(ILaunchActivatedEventArgs e)
method OnBackRequested (line 118) | private void OnBackRequested(object sender, Windows.UI.Core.BackReques...
method OnInitializeAsync (line 137) | public virtual Task OnInitializeAsync() { return Task.FromResult<objec...
method OnActivatedAsync (line 138) | public virtual Task OnActivatedAsync(IActivatedEventArgs e) { return T...
method OnLaunchedAsync (line 139) | public abstract Task OnLaunchedAsync(ILaunchActivatedEventArgs e);
method OnResuming (line 140) | protected virtual void OnResuming(object s, object e) { }
method OnSuspendingAsync (line 141) | protected virtual Task OnSuspendingAsync(object s, SuspendingEventArgs...
FILE: BackgroundExecution/ForegroundApp/Converters/DateTimeFormatConverter.cs
class DateTimeFormatConverter (line 10) | class DateTimeFormatConverter : IValueConverter
method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame...
FILE: BackgroundExecution/ForegroundApp/Converters/ValueWhenConverter.cs
class ValueWhenConverter (line 6) | class ValueWhenConverter : IValueConverter
method Convert (line 8) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 22) | public object ConvertBack(object value, Type targetType, object parame...
FILE: BackgroundExecution/ForegroundApp/Models/TodoItem.cs
class TodoItem (line 5) | public class TodoItem : Mvvm.BindableBase
FILE: BackgroundExecution/ForegroundApp/Models/TodoList.cs
class TodoList (line 7) | public class TodoList : Mvvm.BindableBase
FILE: BackgroundExecution/ForegroundApp/Mvvm/BindableBase.cs
class BindableBase (line 6) | public abstract class BindableBase : INotifyPropertyChanged
method RaisePropertyChanged (line 10) | public void RaisePropertyChanged([CallerMemberName]string propertyName...
method Set (line 15) | public void Set<T>(ref T storage, T value, [CallerMemberName()]string ...
FILE: BackgroundExecution/ForegroundApp/Mvvm/Command.cs
class Command (line 13) | public class Command : System.Windows.Input.ICommand
method Command (line 19) | public Command(Action execute)
method Command (line 23) | public Command(Action execute, Func<bool> canexecute)
method CanExecute (line 31) | [DebuggerStepThrough]
method Execute (line 45) | public void Execute(object p)
method RaiseCanExecuteChanged (line 55) | public void RaiseCanExecuteChanged()
method Command (line 68) | public Command(Action<T> execute)
method Command (line 72) | public Command(Action<T> execute, Func<T, bool> canexecute)
method CanExecute (line 80) | [DebuggerStepThrough]
method Execute (line 95) | public void Execute(object p)
method RaiseCanExecuteChanged (line 106) | public void RaiseCanExecuteChanged()
class Command (line 62) | public class Command<T> : System.Windows.Input.ICommand
method Command (line 19) | public Command(Action execute)
method Command (line 23) | public Command(Action execute, Func<bool> canexecute)
method CanExecute (line 31) | [DebuggerStepThrough]
method Execute (line 45) | public void Execute(object p)
method RaiseCanExecuteChanged (line 55) | public void RaiseCanExecuteChanged()
method Command (line 68) | public Command(Action<T> execute)
method Command (line 72) | public Command(Action<T> execute, Func<T, bool> canexecute)
method CanExecute (line 80) | [DebuggerStepThrough]
method Execute (line 95) | public void Execute(object p)
method RaiseCanExecuteChanged (line 106) | public void RaiseCanExecuteChanged()
FILE: BackgroundExecution/ForegroundApp/Mvvm/ViewModelBase.cs
class ViewModelBase (line 7) | public abstract class ViewModelBase : BindableBase, Services.NavigationS...
method OnNavigatedTo (line 9) | public virtual void OnNavigatedTo(string parameter, NavigationMode mod...
method OnNavigatedFrom (line 11) | public virtual void OnNavigatedFrom(Dictionary<string, object> state, ...
FILE: BackgroundExecution/ForegroundApp/Repositories/TodoItemRepository.cs
class TodoItemRepository (line 9) | public class TodoItemRepository
method Factory (line 11) | public Models.TodoItem Factory(string key = null, bool? complete = nul...
method Clone (line 21) | public Models.TodoItem Clone(Models.TodoItem item)
method Sample (line 32) | public IEnumerable<Models.TodoItem> Sample(int count = 5)
FILE: BackgroundExecution/ForegroundApp/Repositories/TodoListRepository.cs
class TodoListRepository (line 9) | public class TodoListRepository
method TodoListRepository (line 16) | public TodoListRepository()
method GetAsync (line 22) | public async Task<List<Models.TodoList>> GetAsync()
method GetAsync (line 27) | public async Task<Models.TodoList> GetAsync(string key)
method SaveAsync (line 32) | public async Task SaveAsync(List<Models.TodoList> list)
method Factory (line 37) | public Models.TodoList Factory(string key = null, string title = null,...
method Clone (line 47) | public Models.TodoList Clone(Models.TodoList list)
method Sample (line 57) | public IEnumerable<Models.TodoList> Sample(int count = 5)
FILE: BackgroundExecution/ForegroundApp/Services/FileService/FileHelper.cs
class FileHelper (line 10) | class FileHelper
method FileExistsAsync (line 16) | public async Task<bool> FileExistsAsync(string key, StorageStrategies ...
method FileExistsAsync (line 21) | public async Task<bool> FileExistsAsync(string key, Windows.Storage.St...
method DeleteFileAsync (line 29) | public async Task<bool> DeleteFileAsync(string key, StorageStrategies ...
method ReadFileAsync (line 42) | public async Task<T> ReadFileAsync<T>(string key, StorageStrategies lo...
method WriteFileAsync (line 67) | public async Task<bool> WriteFileAsync<T>(string key, T value, Storage...
method CreateFileAsync (line 79) | private async Task<Windows.Storage.StorageFile> CreateFileAsync(string...
method GetIfFileExistsAsync (line 95) | private async Task<Windows.Storage.StorageFile> GetIfFileExistsAsync(s...
method GetIfFileExistsAsync (line 115) | private async Task<Windows.Storage.StorageFile> GetIfFileExistsAsync(s...
method Serialize (line 146) | private string Serialize<T>(T item)
method Deserialize (line 156) | private T Deserialize<T>(string json)
type StorageStrategies (line 161) | public enum StorageStrategies { Local, Roaming, Temporary }
FILE: BackgroundExecution/ForegroundApp/Services/FileService/FileService.cs
class FileService (line 9) | class FileService
method ReadAsync (line 13) | public async Task<List<T>> ReadAsync<T>(string key)
method WriteAsync (line 19) | public async Task WriteAsync<T>(string key, List<T> items)
FILE: BackgroundExecution/ForegroundApp/Services/NavigationService/INavigatable.cs
type INavigatable (line 6) | public interface INavigatable
method OnNavigatedTo (line 8) | void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<s...
method OnNavigatedFrom (line 9) | void OnNavigatedFrom(Dictionary<string, object> state, bool suspending);
FILE: BackgroundExecution/ForegroundApp/Services/NavigationService/NavigationEventArgs.cs
class NavigationEventArgs (line 10) | public class NavigationEventArgs : EventArgs
FILE: BackgroundExecution/ForegroundApp/Services/NavigationService/NavigationFacade.cs
class NavigationFacade (line 13) | public class NavigationFacade
method NavigationFacade (line 15) | public NavigationFacade(Frame frame)
method Navigate (line 33) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 35) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 37) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 43) | public void GoBack() { _frame.GoBack(); }
method Refresh (line 45) | public void Refresh()
method GoForward (line 55) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 63) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 65) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 67) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 95) | void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Naviga...
method FacadeNavigatingCancelEventHandler (line 133) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
FILE: BackgroundExecution/ForegroundApp/Services/NavigationService/NavigationService.cs
class NavigationService (line 8) | public class NavigationService
method NavigationService (line 16) | public NavigationService(Frame frame)
method NavigateFrom (line 23) | void NavigateFrom(bool suspending)
method NavigateTo (line 36) | void NavigateTo(NavigationMode mode, string parameter)
method Navigate (line 57) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 67) | public void RestoreSavedNavigation() { /* TODO */ }
method GoBack (line 69) | public void GoBack() { if (_frame.CanGoBack) _frame.GoBack(); }
method GoForward (line 73) | public void GoForward() { _frame.GoForward(); }
method ClearHistory (line 77) | public void ClearHistory() { _frame.SetNavigationState(EmptyNavigation...
method Suspending (line 79) | public void Suspending() { NavigateFrom(true); }
method Show (line 81) | public void Show(SettingsFlyout flyout, string parameter = null)
FILE: BackgroundExecution/ForegroundApp/ViewModels/MainPageViewModel.cs
class MainPageViewModel (line 13) | public class MainPageViewModel : Mvvm.ViewModelBase
method MainPageViewModel (line 17) | public MainPageViewModel()
method OnNavigatedTo (line 38) | public override async void OnNavigatedTo(string parameter, NavigationM...
method OnNavigatedFrom (line 46) | public override void OnNavigatedFrom(Dictionary<string, object> state,...
method CanExecuteAddListCommand (line 61) | private bool CanExecuteAddListCommand() { return !Busy; }
method ExecuteAddListCommand (line 62) | private void ExecuteAddListCommand()
method CanExecuteRemoveListCommand (line 75) | private bool CanExecuteRemoveListCommand(ViewModels.TodoListViewModel ...
method ExecuteRemoveListCommand (line 76) | private void ExecuteRemoveListCommand(ViewModels.TodoListViewModel list)
method CanExecuteLoadCommand (line 89) | private bool CanExecuteLoadCommand() { return !Busy; }
method ExecuteLoadCommand (line 90) | private async void ExecuteLoadCommand()
method CanExecuteSaveCommand (line 108) | private bool CanExecuteSaveCommand() { return true; }
method ExecuteSaveCommand (line 109) | private async void ExecuteSaveCommand()
method CanExecuteUpdateBadgeCommand (line 126) | private bool CanExecuteUpdateBadgeCommand(string value) { return true; }
method ExecuteUpdateBadgeCommand (line 127) | private async void ExecuteUpdateBadgeCommand(string value)
method CanExecuteUpdateTileCommand (line 143) | private bool CanExecuteUpdateTileCommand(string value) { return true; }
method ExecuteUpdateTileCommand (line 144) | private async void ExecuteUpdateTileCommand(string value)
FILE: BackgroundExecution/ForegroundApp/ViewModels/TodoItemViewModel.cs
class TodoItemViewModel (line 8) | public class TodoItemViewModel : Mvvm.ViewModelBase
method TodoItemViewModel (line 10) | public TodoItemViewModel(Models.TodoItem todo)
FILE: BackgroundExecution/ForegroundApp/ViewModels/TodoListViewModel.cs
class TodoListViewModel (line 6) | public class TodoListViewModel : Mvvm.ViewModelBase
method TodoListViewModel (line 10) | public TodoListViewModel(Models.TodoList list)
method CanExecuteAddCommand (line 35) | private bool CanExecuteAddCommand(string title) { return true; }
method ExecuteAddCommand (line 36) | private void ExecuteAddCommand(string title)
method CanExecuteRemoveCommand (line 51) | private bool CanExecuteRemoveCommand(Models.TodoItem param) { return t...
method ExecuteRemoveCommand (line 52) | private void ExecuteRemoveCommand(Models.TodoItem param)
FILE: BackgroundExecution/ForegroundApp/Views/MainPage.xaml.cs
class MainPage (line 8) | public sealed partial class MainPage : Page
method MainPage (line 10) | public MainPage()
method TodoItem_ItemClicked (line 20) | private async void TodoItem_ItemClicked(object sender, ItemClickEventA...
method List_Tapped (line 26) | private async void List_Tapped(object sender, Windows.UI.Xaml.Input.Ta...
method TextBox_KeyDown (line 36) | private void TextBox_KeyDown(object sender, Windows.UI.Xaml.Input.KeyR...
FILE: Cortana/CortanaTodo.Background/VoiceCommandService.cs
class VoiceCommandService (line 24) | public sealed class VoiceCommandService : IBackgroundTask
method Disambiguate (line 64) | private async Task<T> Disambiguate<T>(IEnumerable<T> items, Func<T,str...
method FindItemAsync (line 127) | private async Task<TodoItem> FindItemAsync(TodoList list, string itemN...
method FindListAsync (line 170) | private async Task<TodoList> FindListAsync(string listName, bool requi...
method HandleAddToListAsync (line 220) | private async Task HandleAddToListAsync(string listName, string itemName)
method HandleMarkItemCompleteAsync (line 263) | private async Task HandleMarkItemCompleteAsync(string listName, string...
method HandleNewListAsync (line 306) | private async Task HandleNewListAsync(string listName)
method ReportProgressAsync (line 343) | private async Task ReportProgressAsync(string message)
method ReportCompleteAsync (line 361) | private async Task ReportCompleteAsync(string message)
method RequestAppLaunchAsync (line 374) | private async Task RequestAppLaunchAsync()
method Run (line 407) | public async void Run(IBackgroundTaskInstance taskInstance)
method OnVoiceCommandCompleted (line 503) | private void OnVoiceCommandCompleted(VoiceCommandServiceConnection sen...
method OnTaskCanceled (line 518) | private void OnTaskCanceled(IBackgroundTaskInstance sender, Background...
FILE: Cortana/CortanaTodo.Shared/Models/BindableBase.cs
class BindableBase (line 6) | public abstract class BindableBase : INotifyPropertyChanged
method RaisePropertyChanged (line 10) | public void RaisePropertyChanged([CallerMemberName]string propertyName...
method Set (line 15) | public bool Set<T>(ref T storage, T value, [CallerMemberName()]string ...
FILE: Cortana/CortanaTodo.Shared/Models/DataObject.cs
class DataObject (line 15) | public class DataObject : ObservableObject
FILE: Cortana/CortanaTodo.Shared/Models/TodoItem.cs
class TodoItem (line 9) | public class TodoItem : DataObject
FILE: Cortana/CortanaTodo.Shared/Models/TodoList.cs
class TodoList (line 11) | public class TodoList : DataObject
FILE: Cortana/CortanaTodo.Shared/Services/FileService/FileHelper.cs
class FileHelper (line 10) | static public class FileHelper
method FileExistsAsync (line 16) | static public async Task<bool> FileExistsAsync(string key, StorageStra...
method FileExistsAsync (line 21) | static public async Task<bool> FileExistsAsync(string key, Windows.Sto...
method DeleteFileAsync (line 29) | static public async Task<bool> DeleteFileAsync(string key, StorageStra...
method ReadFileAsync (line 42) | static public async Task<T> ReadFileAsync<T>(string key, StorageStrate...
method WriteFileAsync (line 68) | static public async Task<bool> WriteFileAsync<T>(string key, T value, ...
method CreateFileAsync (line 88) | static private async Task<Windows.Storage.StorageFile> CreateFileAsync...
method GetIfFileExistsAsync (line 104) | static private async Task<Windows.Storage.StorageFile> GetIfFileExists...
method GetIfFileExistsAsync (line 124) | static private async Task<Windows.Storage.StorageFile> GetIfFileExists...
method Serialize (line 155) | static private string Serialize<T>(T item)
method Deserialize (line 165) | static private T Deserialize<T>(string json)
type StorageStrategies (line 170) | public enum StorageStrategies { Local, Roaming, Temporary }
FILE: Cortana/CortanaTodo.Shared/Services/FileService/FileService.cs
class FileService (line 9) | class FileService
method ReadListAsync (line 13) | public async Task<List<T>> ReadListAsync<T>(string key)
method WriteListAsync (line 19) | public async Task WriteListAsync<T>(string key, List<T> items)
FILE: Cortana/CortanaTodo.Shared/Services/TaskHelper.cs
class TaskRunOptions (line 13) | public class TaskRunOptions
method WithFailure (line 27) | static public TaskRunOptions WithFailure(string failureMessage)
class TaskHelper (line 86) | static public class TaskHelper
method DisplayErrorAsync (line 106) | static private async Task DisplayErrorAsync(Exception ex, TaskRunOptio...
method RunWithErrorHandling (line 143) | static public async Task RunWithErrorHandling(Func<Task> taskFunction,...
method RunWithErrorHandling (line 183) | static public async Task RunWithErrorHandling(Action action, TaskRunOp...
FILE: Cortana/CortanaTodo.Shared/Services/TodoService.cs
class TodoService (line 17) | public class TodoService
method GetDefault (line 35) | static public TodoService GetDefault()
method TodoService (line 57) | private TodoService()
method DeleteAsync (line 73) | public async Task DeleteAsync(TodoList list)
method LoadListsAsync (line 99) | public async Task<ObservableCollection<TodoList>> LoadListsAsync(bool ...
method SaveAsync (line 172) | public async Task SaveAsync(TodoList list)
method SaveAllAsync (line 196) | public async Task SaveAllAsync()
method UpdatePhraseLists (line 212) | public async Task UpdatePhraseLists()
FILE: Cortana/CortanaTodo/App.xaml.cs
class App (line 12) | sealed partial class App : Template10.Common.BootStrapper
method App (line 14) | public App() : base()
method InstallVoiceCommandsAsync (line 28) | private async Task InstallVoiceCommandsAsync()
method OnActivatedAsync (line 41) | public override async Task OnActivatedAsync(IActivatedEventArgs e)
method OnLaunchedAsync (line 75) | public override Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
FILE: Cortana/CortanaTodo/Common/BootStrapper.cs
class BootStrapper (line 17) | public abstract class BootStrapper : Application
method BootStrapper (line 27) | public BootStrapper()
method OnActivated (line 63) | protected override async void OnActivated(IActivatedEventArgs e) { awa...
method OnCachedFileUpdaterActivated (line 64) | protected override async void OnCachedFileUpdaterActivated(CachedFileU...
method OnFileActivated (line 65) | protected override async void OnFileActivated(FileActivatedEventArgs a...
method OnFileOpenPickerActivated (line 66) | protected override async void OnFileOpenPickerActivated(FileOpenPicker...
method OnFileSavePickerActivated (line 67) | protected override async void OnFileSavePickerActivated(FileSavePicker...
method OnSearchActivated (line 68) | protected override async void OnSearchActivated(SearchActivatedEventAr...
method OnShareTargetActivated (line 69) | protected override async void OnShareTargetActivated(ShareTargetActiva...
method InternalActivatedAsync (line 71) | private async Task InternalActivatedAsync(IActivatedEventArgs e)
method OnLaunched (line 79) | protected override void OnLaunched(LaunchActivatedEventArgs e) { Inter...
method InternalLaunchAsync (line 81) | private async void InternalLaunchAsync(ILaunchActivatedEventArgs e)
method OnBackRequested (line 130) | private void OnBackRequested(object sender, Windows.UI.Core.BackReques...
method OnInitializeAsync (line 149) | public virtual Task OnInitializeAsync() { return Task.FromResult<objec...
method OnActivatedAsync (line 150) | public virtual Task OnActivatedAsync(IActivatedEventArgs e) { return T...
method OnLaunchedAsync (line 151) | public abstract Task OnLaunchedAsync(ILaunchActivatedEventArgs e);
method OnResuming (line 152) | protected virtual void OnResuming(object s, object e) { }
method OnSuspendingAsync (line 153) | protected virtual Task OnSuspendingAsync(object s, SuspendingEventArgs...
FILE: Cortana/CortanaTodo/Converters/DateTimeFormatConverter.cs
class DateTimeFormatConverter (line 10) | class DateTimeFormatConverter : IValueConverter
method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame...
FILE: Cortana/CortanaTodo/Converters/ValueWhenConverter.cs
class ValueWhenConverter (line 6) | class ValueWhenConverter : IValueConverter
method Convert (line 8) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 22) | public object ConvertBack(object value, Type targetType, object parame...
FILE: Cortana/CortanaTodo/Extensions/WeakEvent.cs
class EventWatcher (line 16) | public class EventWatcher : IDisposable
method EventWatcher (line 35) | public EventWatcher(object source, string eventName)
method CreateHandlerDelegate (line 49) | private void CreateHandlerDelegate(Type signature)
method Subscribe (line 83) | private void Subscribe(object source, string eventName)
method Dispose (line 123) | void IDisposable.Dispose()
method OnEventRaised (line 141) | protected virtual void OnEventRaised(params object[] parameters)
class WeakEvent (line 151) | public class WeakEvent : EventWatcher
class WeakSubscription (line 155) | private class WeakSubscription
method WeakSubscription (line 157) | public WeakSubscription(Delegate del)
class SubscriberCollection (line 166) | private class SubscriberCollection : Collection<WeakSubscription> { }
method FindRegistration (line 176) | static private WeakEvent FindRegistration(object source, string eventN...
method VerifyDelegate (line 210) | static private void VerifyDelegate<THandler>() where THandler : class
method Subscribe (line 233) | static public void Subscribe<THandler>(object source, string eventName...
method Unsubscribe (line 273) | static public void Unsubscribe<THandler>(object source, string eventNa...
method WeakEvent (line 308) | private WeakEvent(object source, string eventName) : base(source, even...
method FindSubscription (line 317) | private WeakSubscription FindSubscription(Delegate handler)
method OnEventRaised (line 353) | protected override void OnEventRaised(params object[] parameters)
method Subscribe (line 394) | private void Subscribe(Delegate handler)
method Unsubscribe (line 412) | private void Unsubscribe(Delegate handler)
FILE: Cortana/CortanaTodo/Mvvm/CommandCollection.cs
type INamedCommand (line 14) | public interface INamedCommand : ICommand
class CommandCollection (line 25) | public class CommandCollection : ObservableCollection<ICommand>
method CommandCollection (line 32) | public CommandCollection() { }
method CommandCollection (line 38) | public CommandCollection(IEnumerable<ICommand> collection) : base(coll...
FILE: Cortana/CortanaTodo/Mvvm/CommandHelper.cs
class CommandAttributeBase (line 15) | public abstract class CommandAttributeBase : Attribute
method CommandAttributeBase (line 24) | public CommandAttributeBase(string commandName)
class CommandAttribute (line 45) | [AttributeUsage(AttributeTargets.Method)]
method CommandAttribute (line 55) | public CommandAttribute(string commandName) : base(commandName) { }
class CommandCanExecuteAttribute (line 62) | [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
method CommandCanExecuteAttribute (line 72) | public CommandCanExecuteAttribute(string commandName) : base(commandNa...
class CommandCanExecuteChangedAttribute (line 79) | [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
method CommandCanExecuteChangedAttribute (line 89) | public CommandCanExecuteChangedAttribute(string commandName) : base(co...
class CommandHelper (line 96) | static public class CommandHelper
method CreateCommands (line 111) | static public CommandCollection CreateCommands(object viewModel)
FILE: Cortana/CortanaTodo/Mvvm/DynamicCommand.cs
class DynamicCommand (line 17) | public class DynamicCommand : INamedCommand
method ValidateCanExecuteMethod (line 27) | static private void ValidateCanExecuteMethod(MethodInfo canExecuteMethod)
method ValidateExecuteMetod (line 45) | static private void ValidateExecuteMetod(MethodInfo executeMethod)
method DynamicCommand (line 73) | public DynamicCommand(object commandSource, string name)
method CommandSource_PropertyChanged (line 86) | private void CommandSource_PropertyChanged(object sender, PropertyChan...
method AddCanExecuteProperty (line 103) | public void AddCanExecuteProperty(string propertyName)
method CanExecute (line 150) | public bool CanExecute(object parameter)
method Execute (line 173) | public void Execute(object parameter)
method RaiseCanExecuteChanged (line 191) | public void RaiseCanExecuteChanged()
method RemoveCanExecuteProperty (line 202) | public void RemoveCanExecuteProperty(string propertyName)
FILE: Cortana/CortanaTodo/Mvvm/ViewModel.cs
class ViewModel (line 22) | public abstract class ViewModel : VMBase, INavigationAware
method ViewModel (line 28) | public ViewModel()
method CreateCommands (line 42) | protected virtual void CreateCommands()
method RunWithErrorHandling (line 61) | protected async Task RunWithErrorHandling(Func<Task> taskFunction, Tas...
method RunWithErrorHandling (line 92) | protected async Task RunWithErrorHandling(Action action, TaskRunOption...
method InitializeAsync (line 119) | protected virtual async Task InitializeAsync()
method LoadDefaultDataAsync (line 141) | protected virtual Task LoadDefaultDataAsync()
method LoadDesignData (line 153) | protected virtual void LoadDesignData()
method ObtainServices (line 165) | protected virtual void ObtainServices()
method OnNavigating (line 181) | public override void OnNavigating(object sender, NavigatingCancelEvent...
method OnNavigated (line 194) | public override void OnNavigated(object sender, NavigationEventArgsEx e)
FILE: Cortana/CortanaTodo/Mvvm/ViewModelBase.cs
class ViewModelBase (line 12) | public abstract class ViewModelBase : BindableBase, INavigationAware, IL...
method HandleResumeAsync (line 14) | public virtual Task HandleResumeAsync(object e)
method HandleSuspendAsync (line 20) | public virtual Task HandleSuspendAsync(SuspendingEventArgs e)
method OnNavigating (line 26) | public virtual void OnNavigating(object sender, NavigatingCancelEventA...
method OnNavigated (line 28) | public virtual void OnNavigated(object sender, NavigationEventArgsEx e...
FILE: Cortana/CortanaTodo/Services/Lifecycle/ILifecycleAware.cs
type ILifecycleAware (line 10) | public interface ILifecycleAware
method HandleResumeAsync (line 21) | Task HandleResumeAsync(object e);
method HandleSuspendAsync (line 32) | Task HandleSuspendAsync(SuspendingEventArgs e);
FILE: Cortana/CortanaTodo/Services/NavigationService/INavigationAware.cs
type INavigationAware (line 6) | public interface INavigationAware
method OnNavigating (line 8) | void OnNavigating(object sender, NavigatingCancelEventArgs e);
method OnNavigated (line 9) | void OnNavigated(object sender, NavigationEventArgsEx e);
FILE: Cortana/CortanaTodo/Services/NavigationService/NavigationEventArgsEx.cs
class NavigationEventArgsEx (line 10) | public class NavigationEventArgsEx : EventArgs
method NavigationEventArgsEx (line 12) | public NavigationEventArgsEx()
method NavigationEventArgsEx (line 17) | public NavigationEventArgsEx(NavigationEventArgs e)
FILE: Cortana/CortanaTodo/Services/NavigationService/NavigationFacade.cs
class NavigationFacade (line 13) | public class NavigationFacade
method NavigationFacade (line 15) | public NavigationFacade(Frame frame)
method Navigate (line 33) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 35) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 37) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 43) | public void GoBack() { _frame.GoBack(); }
method Refresh (line 45) | public void Refresh()
method GoForward (line 55) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 63) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 65) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 67) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 95) | void FacadeNavigatedEventHandler(object sender, NavigationEventArgs e)
method FacadeNavigatingCancelEventHandler (line 128) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
FILE: Cortana/CortanaTodo/Services/NavigationService/NavigationService.cs
class NavigationService (line 11) | public class NavigationService : ILifecycleAware
method NavigationService (line 29) | public NavigationService(Frame frame)
method OnNavigating (line 40) | private void OnNavigating(object sender, NavigatingCancelEventArgs e)
method OnNavigated (line 53) | private void OnNavigated(object sender, NavigationEventArgsEx e)
method HandleResumeAsync (line 76) | Task ILifecycleAware.HandleResumeAsync(object e)
method HandleSuspendAsync (line 92) | Task ILifecycleAware.HandleSuspendAsync(SuspendingEventArgs e)
method Navigate (line 108) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 118) | public void RestoreSavedNavigation() { /* TODO */ }
method GoBack (line 120) | public void GoBack() { if (frame.CanGoBack) frame.GoBack(); }
method GoForward (line 124) | public void GoForward() { frame.GoForward(); }
method ClearHistory (line 128) | public void ClearHistory() { frame.SetNavigationState(EmptyNavigation); }
method Show (line 131) | public void Show(SettingsFlyout flyout, string parameter = null)
FILE: Cortana/CortanaTodo/ViewModels/MainPageViewModel.cs
class MainPageViewModel (line 20) | public class MainPageViewModel : ViewModel
class CommandNames (line 23) | static public class CommandNames
method ItemCommandsEnabled (line 44) | [CommandCanExecute(CommandNames.DeleteItem)]
method ListCommandsEnabled (line 56) | [CommandCanExecute(CommandNames.AddItem)]
method HandleSuspendAsync (line 66) | public override async Task HandleSuspendAsync(SuspendingEventArgs e)
method LoadDefaultDataAsync (line 72) | protected override Task LoadDefaultDataAsync()
method LoadDesignData (line 90) | protected override void LoadDesignData()
method ObtainServices (line 121) | protected override void ObtainServices()
method OnNavigated (line 127) | public override void OnNavigated(object sender, NavigationEventArgsEx e)
method AddItem (line 154) | [Command(CommandNames.AddItem)]
method AddList (line 172) | [Command(CommandNames.AddList)]
method DeleteItemAsync (line 194) | [Command(CommandNames.DeleteItem)]
method DeleteListAsync (line 228) | [Command(CommandNames.DeleteList)]
method SaveListAsync (line 261) | [Command(CommandNames.SaveList)]
FILE: Cortana/CortanaTodo/Views/MainPage.xaml.cs
class MainPage (line 6) | public sealed partial class MainPage : Page
method MainPage (line 8) | public MainPage()
method TodoItem_ItemClicked (line 13) | private void TodoItem_ItemClicked(object sender, ItemClickEventArgs e)
FILE: DragAndDropSample/DragAndDropSample/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 36) | public App()
method OnLaunched (line 49) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 95) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 107) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: DragAndDropSample/DragAndDropSample/MainPage.xaml.cs
class MainPage (line 16) | public sealed partial class MainPage : Page
method MainPage (line 18) | public MainPage()
method UpdateOutput (line 23) | async private void UpdateOutput(DragEventArgs e)
method ClearOutput (line 100) | private void ClearOutput()
method Move_DragOver (line 115) | private void Move_DragOver(object sender, DragEventArgs e)
method Copy_DragOver (line 121) | private void Copy_DragOver(object sender, DragEventArgs e)
method Link_DragOver (line 127) | private void Link_DragOver(object sender, DragEventArgs e)
method None_DragOver (line 133) | private void None_DragOver(object sender, DragEventArgs e)
method RemoveDecoration_DragOver (line 139) | private void RemoveDecoration_DragOver(object sender, DragEventArgs e)
method ApplyDecoration_DragOver (line 147) | private void ApplyDecoration_DragOver(object sender, DragEventArgs e)
method Custom_DragOver (line 155) | private void Custom_DragOver(object sender, DragEventArgs e)
method ApplyCustomText_DragOver (line 163) | private void ApplyCustomText_DragOver(object sender, DragEventArgs e)
method Clear_DragLeave (line 172) | private void Clear_DragLeave(object sender, DragEventArgs e)
method DragImage_DragStarting (line 177) | async private void DragImage_DragStarting(UIElement sender, DragStarti...
method DragText_DragStarting (line 196) | private void DragText_DragStarting(UIElement sender, DragStartingEvent...
method SetRequestedOperation (line 203) | private DataPackageOperation SetRequestedOperation()
method DragTriggerDetection_Checked (line 223) | private void DragTriggerDetection_Checked(object sender, RoutedEventAr...
method DragImage_PointerPressed (line 255) | private void DragImage_PointerPressed(object sender, PointerRoutedEven...
method DragImage_PointerReleased (line 264) | private void DragImage_PointerReleased(object sender, PointerRoutedEve...
method DragImage_PointerMoved (line 269) | private async void DragImage_PointerMoved(object sender, PointerRouted...
method DragText_PointerPressed (line 284) | private void DragText_PointerPressed(object sender, PointerRoutedEvent...
method DragText_PointerReleased (line 293) | private void DragText_PointerReleased(object sender, PointerRoutedEven...
method DragText_PointerMoved (line 298) | private async void DragText_PointerMoved(object sender, PointerRoutedE...
FILE: HelloWorld/HelloWorld/Services/AdService/AdHelper.cs
class AdHelper (line 8) | public class AdHelper
method AdHelper (line 14) | public AdHelper(string applicationId, string adUnitId)
method Preload (line 32) | public void Preload(bool show = false)
method Show (line 39) | public void Show()
FILE: HelloWorld/HelloWorld/Services/AdService/AdService.cs
class AdService (line 9) | class AdService
method AdService (line 13) | public AdService()
method Show (line 27) | public void Show()
FILE: HelloWorld/HelloWorld/ViewModels/MainPageViewModel.cs
class MainPageViewModel (line 12) | public class MainPageViewModel : Mvvm.ViewModelBase
method MainPageViewModel (line 16) | public MainPageViewModel()
method OnNavigatedTo (line 39) | public override void OnNavigatedTo(string parameter, NavigationMode mo...
method OnNavigatedFrom (line 44) | public override void OnNavigatedFrom(Dictionary<string, object> state,...
method CanExecuteAddListCommand (line 62) | private bool CanExecuteAddListCommand() { return !Busy; }
method ExecuteAddListCommand (line 63) | private void ExecuteAddListCommand()
method CanExecuteRemoveListCommand (line 76) | private bool CanExecuteRemoveListCommand(ViewModels.TodoListViewModel ...
method ExecuteRemoveListCommand (line 77) | private void ExecuteRemoveListCommand(ViewModels.TodoListViewModel list)
method CanExecuteLoadCommand (line 90) | private bool CanExecuteLoadCommand() { return !Busy; }
method ExecuteLoadCommand (line 91) | private async void ExecuteLoadCommand()
method CanExecuteSaveCommand (line 109) | private bool CanExecuteSaveCommand() { return true; }
method ExecuteSaveCommand (line 110) | private async void ExecuteSaveCommand()
method CanExecuteRemoveAdsCommand (line 127) | private bool CanExecuteRemoveAdsCommand() { return !Busy && ShowAd; }
method ExecuteRemoveAdsCommand (line 128) | private async void ExecuteRemoveAdsCommand()
method CanExecuteShowVideoAdCommand (line 141) | private bool CanExecuteShowVideoAdCommand() { return !Busy; }
method ExecuteShowVideoAdCommand (line 142) | private void ExecuteShowVideoAdCommand()
FILE: HttpClient WireSerialization/NorthwindService/Category.cs
class Category (line 15) | public partial class Category
method Category (line 17) | public Category()
FILE: HttpClient WireSerialization/NorthwindService/Customer.cs
class Customer (line 15) | public partial class Customer
method Customer (line 17) | public Customer()
FILE: HttpClient WireSerialization/NorthwindService/Employee.cs
class Employee (line 15) | public partial class Employee
method Employee (line 17) | public Employee()
FILE: HttpClient WireSerialization/NorthwindService/Northwind.Context.cs
class NorthwindEntities (line 16) | public partial class NorthwindEntities : DbContext
method NorthwindEntities (line 18) | public NorthwindEntities()
method OnModelCreating (line 23) | protected override void OnModelCreating(DbModelBuilder modelBuilder)
FILE: HttpClient WireSerialization/NorthwindService/Northwind.svc.cs
class Northwind (line 18) | public class Northwind : DataService< NorthwindEntities >
method InitializeService (line 21) | public static void InitializeService(DataServiceConfiguration config)
method GetSuppliersLite (line 29) | private string GetSuppliersLite()
method GetSuppliersLiteZip (line 82) | [WebGet]
method Zip (line 88) | private string Zip(string value)
FILE: HttpClient WireSerialization/NorthwindService/Order.cs
class Order (line 15) | public partial class Order
method Order (line 17) | public Order()
FILE: HttpClient WireSerialization/NorthwindService/Order_Detail.cs
class Order_Detail (line 15) | public partial class Order_Detail
FILE: HttpClient WireSerialization/NorthwindService/Product.cs
class Product (line 15) | public partial class Product
method Product (line 17) | public Product()
FILE: HttpClient WireSerialization/NorthwindService/Shipper.cs
class Shipper (line 15) | public partial class Shipper
method Shipper (line 17) | public Shipper()
FILE: HttpClient WireSerialization/NorthwindService/Supplier.cs
class Supplier (line 15) | public partial class Supplier
method Supplier (line 17) | public Supplier()
FILE: HttpClient WireSerialization/UWPclient/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 36) | public App()
method OnLaunched (line 49) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 95) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 107) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: HttpClient WireSerialization/UWPclient/MainPage.xaml.cs
class MainPage (line 15) | public sealed partial class MainPage : Page
method MainPage (line 17) | public MainPage()
method button2_Click (line 23) | private async void button2_Click(object sender, RoutedEventArgs e)
method button3_Click (line 33) | private async void button3_Click(object sender, RoutedEventArgs e)
method button4_Click (line 44) | private async void button4_Click(object sender, RoutedEventArgs e)
method button5_Click (line 55) | private async void button5_Click(object sender, RoutedEventArgs e)
FILE: KeepTheKeys/KeepTheKeys/App.xaml.cs
class App (line 14) | public sealed partial class App : Application
method App (line 22) | public App()
method App_BackRequested (line 33) | private void App_BackRequested(object sender, Windows.UI.Core.BackRequ...
method OnLaunched (line 68) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method RootFrame_FirstNavigated (line 134) | private void RootFrame_FirstNavigated(object sender, NavigationEventAr...
method OnSuspending (line 148) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: KeepTheKeys/KeepTheKeys/DevicePage.xaml.cs
class DevicePage (line 10) | public sealed partial class DevicePage : Page
method DevicePage (line 12) | public DevicePage()
method OnNavigatedTo (line 17) | protected override void OnNavigatedTo(NavigationEventArgs e)
FILE: KeepTheKeys/KeepTheKeys/MainPage.xaml.cs
class MainPage (line 20) | public sealed partial class MainPage : Page
method MainPage (line 24) | public MainPage()
method OnNavigatedTo (line 37) | protected override async void OnNavigatedTo(NavigationEventArgs e)
method deviceListBox_SelectionChanged (line 77) | private void deviceListBox_SelectionChanged(object sender, SelectionCh...
FILE: KeepTheKeys/KeepTheKeys/RadioButtonValueConverter.cs
class RadioButtonValueConverter (line 12) | public class RadioButtonValueConverter<EnumType> : Windows.UI.Xaml.Data....
method Convert (line 16) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 24) | public object ConvertBack(object value, Type targetType, object parame...
class AlertLevelRadioButtonValueConverter (line 36) | public class AlertLevelRadioButtonValueConverter : RadioButtonValueConve...
FILE: KeepTheKeys/KeepTheKeysBackground/KeyFobTask.cs
class KeyFobTask (line 19) | public sealed class KeyFobTask : IBackgroundTask
method Run (line 21) | public async void Run(Windows.ApplicationModel.Background.IBackgroundT...
FILE: KeepTheKeys/KeepTheKeysCommon/AlertLevel.cs
type AlertLevel (line 5) | public enum AlertLevel : byte
FILE: KeepTheKeys/KeepTheKeysCommon/KeyFob.cs
class KeyFob (line 21) | public class KeyFob
method KeyFob (line 76) | public KeyFob(BluetoothLEDevice device)
method SaveSettings (line 104) | private async void SaveSettings()
method SetAlertLevelCharacteristic (line 136) | public async Task SetAlertLevelCharacteristic()
method ToString (line 157) | public override string ToString()
FILE: LaunchForResultsDemo/LaunchForResultsDemo/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 31) | public App()
method OnLaunched (line 42) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 90) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 102) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: LaunchForResultsDemo/LaunchForResultsDemo/Common/NavigationHelper.cs
class NavigationHelper (line 59) | [Windows.Foundation.Metadata.WebHostHidden]
method NavigationHelper (line 71) | public NavigationHelper(Page page)
method CanGoBack (line 167) | public virtual bool CanGoBack()
method CanGoForward (line 179) | public virtual bool CanGoForward()
method GoBack (line 188) | public virtual void GoBack()
method GoForward (line 196) | public virtual void GoForward()
method App_BackRequested (line 207) | private void App_BackRequested(object sender, BackRequestedEventArgs e)
method CoreDispatcher_AcceleratorKeyActivated (line 223) | private void CoreDispatcher_AcceleratorKeyActivated(CoreDispatcher sen...
method CoreWindow_PointerPressed (line 267) | private void CoreWindow_PointerPressed(CoreWindow sender,
method OnNavigatedTo (line 315) | public void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 357) | public void OnNavigatedFrom(NavigationEventArgs e)
class LoadStateEventArgs (line 383) | public class LoadStateEventArgs : EventArgs
method LoadStateEventArgs (line 407) | public LoadStateEventArgs(Object navigationParameter, Dictionary<strin...
class SaveStateEventArgs (line 417) | public class SaveStateEventArgs : EventArgs
method SaveStateEventArgs (line 428) | public SaveStateEventArgs(Dictionary<string, Object> pageState)
FILE: LaunchForResultsDemo/LaunchForResultsDemo/Common/ObservableDictionary.cs
class ObservableDictionary (line 12) | public class ObservableDictionary : IObservableMap<string, object>
class ObservableDictionaryChangedEventArgs (line 14) | private class ObservableDictionaryChangedEventArgs : IMapChangedEventA...
method ObservableDictionaryChangedEventArgs (line 16) | public ObservableDictionaryChangedEventArgs(CollectionChange change,...
method InvokeMapChanged (line 29) | private void InvokeMapChanged(CollectionChange change, string key)
method Add (line 38) | public void Add(string key, object value)
method Add (line 44) | public void Add(KeyValuePair<string, object> item)
method Remove (line 49) | public bool Remove(string key)
method Remove (line 59) | public bool Remove(KeyValuePair<string, object> item)
method Clear (line 84) | public void Clear()
method ContainsKey (line 99) | public bool ContainsKey(string key)
method TryGetValue (line 104) | public bool TryGetValue(string key, out object value)
method Contains (line 114) | public bool Contains(KeyValuePair<string, object> item)
method GetEnumerator (line 129) | public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
method GetEnumerator (line 134) | System.Collections.IEnumerator System.Collections.IEnumerable.GetEnume...
method CopyTo (line 139) | public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
FILE: LaunchForResultsDemo/LaunchForResultsDemo/Common/RelayCommand.cs
class RelayCommand (line 17) | public class RelayCommand : ICommand
method RelayCommand (line 31) | public RelayCommand(Action execute)
method RelayCommand (line 41) | public RelayCommand(Action execute, Func<bool> canExecute)
method CanExecute (line 56) | public bool CanExecute(object parameter)
method Execute (line 67) | public void Execute(object parameter)
method RaiseCanExecuteChanged (line 77) | public void RaiseCanExecuteChanged()
FILE: LaunchForResultsDemo/LaunchForResultsDemo/Common/SuspensionManager.cs
class SuspensionManager (line 23) | internal sealed class SuspensionManager
method SaveAsync (line 58) | public static async Task SaveAsync()
method RestoreAsync (line 103) | public static async Task RestoreAsync(String sessionBaseKey = null)
method RegisterFrame (line 157) | public static void RegisterFrame(Frame frame, String sessionStateKey, ...
method UnregisterFrame (line 191) | public static void UnregisterFrame(Frame frame)
method SessionStateForFrame (line 216) | public static Dictionary<String, Object> SessionStateForFrame(Frame fr...
method RestoreFrameNavigationState (line 242) | private static void RestoreFrameNavigationState(Frame frame)
method SaveFrameNavigationState (line 251) | private static void SaveFrameNavigationState(Frame frame)
class SuspensionManagerException (line 257) | public class SuspensionManagerException : Exception
method SuspensionManagerException (line 259) | public SuspensionManagerException()
method SuspensionManagerException (line 263) | public SuspensionManagerException(Exception e)
FILE: LaunchForResultsDemo/LaunchForResultsDemo/ContinuationPage.xaml.cs
class ContinuationPage (line 25) | public sealed partial class ContinuationPage : Page
method ContinuationPage (line 40) | public ContinuationPage()
method navigationHelper_LoadState (line 59) | private void navigationHelper_LoadState(object sender, LoadStateEventA...
method navigationHelper_SaveState (line 81) | private void navigationHelper_SaveState(object sender, SaveStateEventA...
method OnNavigatedTo (line 96) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 101) | protected override void OnNavigatedFrom(NavigationEventArgs e)
FILE: LaunchForResultsDemo/LaunchForResultsDemo/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 26) | public MainPage()
method LaunchForResultButton_Click (line 31) | private async void LaunchForResultButton_Click(object sender, RoutedEv...
FILE: LaunchForResultsDemo/LaunchTargetDemoApp/App.xaml.cs
class App (line 15) | sealed partial class App : Application
method App (line 21) | public App()
method OnActivated (line 27) | protected override void OnActivated(IActivatedEventArgs args)
method OnLaunched (line 70) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 118) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 130) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: LaunchForResultsDemo/LaunchTargetDemoApp/LaunchTargetPage.xaml.cs
class LaunchTargetPage (line 24) | public sealed partial class LaunchTargetPage : Page
method LaunchTargetPage (line 28) | public LaunchTargetPage()
method SendResults_Click (line 41) | private void SendResults_Click(object sender, RoutedEventArgs e)
FILE: LaunchForResultsDemo/LaunchTargetDemoApp/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 26) | public MainPage()
FILE: LaunchForResultsShoppingDemo/CheckOut/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 31) | public App()
method OnLaunched (line 42) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnActivated (line 85) | protected override void OnActivated(IActivatedEventArgs args)
method OnNavigationFailed (line 115) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 127) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: LaunchForResultsShoppingDemo/CheckOut/MainPage.xaml.cs
class MainPage (line 7) | public sealed partial class MainPage : Page
method MainPage (line 9) | public MainPage()
FILE: LaunchForResultsShoppingDemo/CheckOut/MakePayment.xaml.cs
class MakePayment (line 15) | public sealed partial class MakePayment : Page
method MakePayment (line 26) | public MakePayment()
method OnNavigatedTo (line 39) | protected override void OnNavigatedTo(NavigationEventArgs e)
method CancelClicked (line 83) | private void CancelClicked(object sender, Windows.UI.Xaml.RoutedEventA...
method MakePaymentClicked (line 92) | private void MakePaymentClicked(object sender, Windows.UI.Xaml.RoutedE...
FILE: LaunchForResultsShoppingDemo/CheckOut/Models/Item.cs
class Item (line 4) | public class Item
FILE: LaunchForResultsShoppingDemo/Shop/App.xaml.cs
class App (line 25) | sealed partial class App : Application
method App (line 31) | public App()
method OnLaunched (line 42) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 90) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 102) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: LaunchForResultsShoppingDemo/Shop/MainPage.xaml.cs
class MainPage (line 8) | public sealed partial class MainPage : Page
method MainPage (line 10) | public MainPage()
method OnNavigatedTo (line 15) | protected override void OnNavigatedTo(NavigationEventArgs e)
FILE: LaunchForResultsShoppingDemo/Shop/Receipt.xaml.cs
class Receipt (line 9) | public sealed partial class Receipt : Page
method Receipt (line 11) | public Receipt()
method OnNavigatedTo (line 21) | protected override void OnNavigatedTo(NavigationEventArgs e)
method HomeClicked (line 66) | private void HomeClicked(object sender, RoutedEventArgs e)
FILE: LaunchForResultsShoppingDemo/Shop/ViewModels/CanNotifyPropertyChanged.cs
class CanNotifyPropertyChanged (line 11) | public class CanNotifyPropertyChanged : INotifyPropertyChanged
method SetProperty (line 15) | public bool SetProperty<T>(ref T storage, T value, [CallerMemberName] ...
method RaisePropertyChanged (line 30) | protected void RaisePropertyChanged<T>(Expression<Func<T>> propertyExp...
method RaiseAllPropertyChanged (line 35) | protected void RaiseAllPropertyChanged()
method OnPropertyChanged (line 40) | protected async virtual void OnPropertyChanged([CallerMemberName] stri...
method PropertyName (line 54) | private static string PropertyName<T>(Expression<Func<T>> propertyExpr...
FILE: LaunchForResultsShoppingDemo/Shop/ViewModels/Command.cs
class Command (line 7) | public class Command : ICommand
method Command (line 17) | public Command(Action executeAction) : this(executeAction, (Func<bool>...
method Command (line 21) | public Command(Action<object> executeParameterizedAction) : this(execu...
method Command (line 25) | public Command(Action executeAction, Func<bool> canExecute)
method Command (line 36) | public Command(Action executeAction, Func<object, bool> canExecute)
method Command (line 48) | public Command(Action<object> executeAction, Func<object, bool> canExe...
method CanExecute (line 61) | public bool CanExecute(object parameter)
method RaiseCanExecuteChanged (line 78) | public void RaiseCanExecuteChanged()
method Execute (line 87) | public void Execute(object parameter)
FILE: LaunchForResultsShoppingDemo/Shop/ViewModels/MainPageViewModel.cs
class MainPageViewModel (line 12) | class MainPageViewModel : CanNotifyPropertyChanged
method MainPageViewModel (line 19) | public MainPageViewModel()
method CreateSampleProducts (line 41) | private void CreateSampleProducts()
method AddProduct (line 54) | private void AddProduct(string name, double price)
method CanCheckOut (line 59) | private bool CanCheckOut()
method CheckOut (line 64) | private async Task CheckOut()
FILE: LaunchForResultsShoppingDemo/Shop/ViewModels/Product.cs
class Product (line 5) | public class Product : CanNotifyPropertyChanged
method Product (line 12) | public Product(Action OnSelectionChangedAction = null)
FILE: LaunchForResultsShoppingDemo/Shop/ViewModels/ViewModelLocator.cs
class ViewModelLocator (line 4) | class ViewModelLocator
FILE: MapsDrawingShapes/DrawingShapes/App.xaml.cs
class App (line 26) | public sealed partial class App : Application
method App (line 33) | public App()
method OnLaunched (line 46) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnSuspending (line 98) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: MapsDrawingShapes/DrawingShapes/MainPage.xaml.cs
class MainPage (line 23) | public sealed partial class MainPage : Page
method MainPage (line 25) | public MainPage()
method OnNavigatedTo (line 37) | protected override void OnNavigatedTo(NavigationEventArgs e)
method DrawLines (line 45) | private void DrawLines(object sender, RoutedEventArgs e)
method DrawShapes (line 72) | private void DrawShapes(object sender, RoutedEventArgs e)
method DrawPoints (line 99) | private void DrawPoints(object sender, RoutedEventArgs e)
method DeleteAll (line 131) | private void DeleteAll(object sender, RoutedEventArgs e)
method DeleteShapesFromLevel (line 136) | private bool DeleteShapesFromLevel(int zIndex)
method MyMap_MapTapped (line 152) | private async void MyMap_MapTapped(MapControl sender, MapInputEventArg...
method ZoomOut (line 166) | private void ZoomOut(object sender, RoutedEventArgs e)
method ZoomIn (line 173) | private void ZoomIn(object sender, RoutedEventArgs e)
FILE: MapsDrawingShapes/DrawingShapes/MapElementData.cs
class MapElementData (line 14) | public static class MapElementData
method GetObjectData (line 23) | public static object GetObjectData(DependencyObject obj)
method SetObjectData (line 28) | public static void SetObjectData(
method AddData (line 36) | public static void AddData(this DependencyObject element, object data)
method ReadData (line 41) | public static T ReadData<T>(this DependencyObject element) where T : c...
FILE: MapsDrawingShapes/DrawingShapes/MapExtensions.cs
class MapExtensions (line 16) | public static class MapExtensions
method GetViewArea (line 18) | public static GeoboundingBox GetViewArea(this MapControl map)
method SetViewArea (line 26) | public static void SetViewArea(this MapControl map, Geopoint p1, Geopo...
FILE: MapsDrawingShapes/DrawingShapes/PointList.cs
class PointList (line 11) | public class PointList
method PointList (line 13) | public PointList()
method GetLines (line 21) | public static IEnumerable<PointList> GetLines()
method GetAreas (line 50) | public static IEnumerable<PointList> GetAreas()
method GetRandomPoints (line 85) | public static IEnumerable<PointList> GetRandomPoints(Geopoint point1, ...
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/AboutPage.xaml.cs
class AboutPage (line 23) | public sealed partial class AboutPage : Page
method AboutPage (line 45) | public AboutPage()
method navigationHelper_LoadState (line 64) | private void navigationHelper_LoadState(object sender, LoadStateEventA...
method OnNavigatedTo (line 84) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 89) | protected override void OnNavigatedFrom(NavigationEventArgs e)
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/App.xaml.cs
class App (line 26) | sealed partial class App : Application
method App (line 32) | public App()
method HardwareButtons_BackPressed (line 38) | private void HardwareButtons_BackPressed(object sender, BackPressedEve...
method OnLaunched (line 60) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnActivated (line 95) | protected override void OnActivated(IActivatedEventArgs args)
method OnSuspending (line 142) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/Common/NavigationHelper.cs
class NavigationHelper (line 59) | [Windows.Foundation.Metadata.WebHostHidden]
method NavigationHelper (line 71) | public NavigationHelper(Page page)
method CanGoBack (line 161) | public virtual bool CanGoBack()
method CanGoForward (line 173) | public virtual bool CanGoForward()
method GoBack (line 182) | public virtual void GoBack()
method GoForward (line 190) | public virtual void GoForward()
method CoreDispatcher_AcceleratorKeyActivated (line 202) | private void CoreDispatcher_AcceleratorKeyActivated(CoreDispatcher sen...
method CoreWindow_PointerPressed (line 246) | private void CoreWindow_PointerPressed(CoreWindow sender,
method OnNavigatedTo (line 293) | public void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 335) | public void OnNavigatedFrom(NavigationEventArgs e)
class LoadStateEventArgs (line 361) | public class LoadStateEventArgs : EventArgs
method LoadStateEventArgs (line 385) | public LoadStateEventArgs(Object navigationParameter, Dictionary<strin...
class SaveStateEventArgs (line 395) | public class SaveStateEventArgs : EventArgs
method SaveStateEventArgs (line 406) | public SaveStateEventArgs(Dictionary<string, Object> pageState)
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/Common/ObservableDictionary.cs
class ObservableDictionary (line 12) | public class ObservableDictionary : IObservableMap<string, object>
class ObservableDictionaryChangedEventArgs (line 14) | private class ObservableDictionaryChangedEventArgs : IMapChangedEventA...
method ObservableDictionaryChangedEventArgs (line 16) | public ObservableDictionaryChangedEventArgs(CollectionChange change,...
method InvokeMapChanged (line 29) | private void InvokeMapChanged(CollectionChange change, string key)
method Add (line 38) | public void Add(string key, object value)
method Add (line 44) | public void Add(KeyValuePair<string, object> item)
method Remove (line 49) | public bool Remove(string key)
method Remove (line 59) | public bool Remove(KeyValuePair<string, object> item)
method Clear (line 84) | public void Clear()
method ContainsKey (line 99) | public bool ContainsKey(string key)
method TryGetValue (line 104) | public bool TryGetValue(string key, out object value)
method Contains (line 114) | public bool Contains(KeyValuePair<string, object> item)
method GetEnumerator (line 129) | public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
method GetEnumerator (line 134) | System.Collections.IEnumerator System.Collections.IEnumerable.GetEnume...
method CopyTo (line 139) | public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/Common/RelayCommand.cs
class RelayCommand (line 17) | public class RelayCommand : ICommand
method RelayCommand (line 31) | public RelayCommand(Action execute)
method RelayCommand (line 41) | public RelayCommand(Action execute, Func<bool> canExecute)
method CanExecute (line 56) | public bool CanExecute(object parameter)
method Execute (line 67) | public void Execute(object parameter)
method RaiseCanExecuteChanged (line 77) | public void RaiseCanExecuteChanged()
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/Common/SuspensionManager.cs
class SuspensionManager (line 23) | internal sealed class SuspensionManager
method SaveAsync (line 58) | public static async Task SaveAsync()
method RestoreAsync (line 101) | public static async Task RestoreAsync()
method RegisterFrame (line 151) | public static void RegisterFrame(Frame frame, String sessionStateKey)
method UnregisterFrame (line 179) | public static void UnregisterFrame(Frame frame)
method SessionStateForFrame (line 204) | public static Dictionary<String, Object> SessionStateForFrame(Frame fr...
method RestoreFrameNavigationState (line 230) | private static void RestoreFrameNavigationState(Frame frame)
method SaveFrameNavigationState (line 239) | private static void SaveFrameNavigationState(Frame frame)
class SuspensionManagerException (line 245) | public class SuspensionManagerException : Exception
method SuspensionManagerException (line 247) | public SuspensionManagerException()
method SuspensionManagerException (line 251) | public SuspensionManagerException(Exception e)
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/Converters/ImageSourceToStringConverter.cs
class ImageSourceToStringConverter (line 10) | public class ImageSourceToStringConverter : IValueConverter
method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame...
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/Converters/UserImagesDisplayConverter.cs
class UserImagesDisplayConverter (line 12) | public class UserImagesDisplayConverter : IValueConverter
method Convert (line 14) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 29) | public object ConvertBack(object value, Type targetType, object parame...
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/DataModel/BindableBase.cs
class BindableBase (line 27) | [Windows.Foundation.Metadata.WebHostHidden]
method SetProperty (line 47) | protected bool SetProperty<T>(ref T storage, T value, [CallerMemberNam...
method OnPropertyChanged (line 62) | protected void OnPropertyChanged([CallerMemberName] string propertyNam...
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/DataModel/RecipeDataSource.cs
class RecipeDataCommon (line 42) | [Windows.Foundation.Metadata.WebHostHidden]
method RecipeDataCommon (line 47) | public RecipeDataCommon(String uniqueId, String title, String shortTit...
method SetImage (line 105) | public void SetImage(String path)
method GetImageUri (line 112) | public string GetImageUri()
class UserPhotoDataItem (line 121) | public class UserPhotoDataItem : RecipeDataCommon
method UserPhotoDataItem (line 125) | public UserPhotoDataItem()
class RecipeDataItem (line 134) | public class RecipeDataItem : RecipeDataCommon
method RecipeDataItem (line 136) | public RecipeDataItem()
method RecipeDataItem (line 143) | public RecipeDataItem(String uniqueId, String title, String shortTitle...
method SetTileImage (line 214) | public void SetTileImage(String path)
class RecipeDataGroup (line 225) | public class RecipeDataGroup : RecipeDataCommon
method RecipeDataGroup (line 227) | public RecipeDataGroup()
method RecipeDataGroup (line 232) | public RecipeDataGroup(String uniqueId, String title, String shortTitl...
method SetGroupImage (line 290) | public void SetGroupImage(String path)
class RecipeDataSource (line 301) | public sealed class RecipeDataSource
method GetGroupsAsync (line 313) | public static async Task<IEnumerable<RecipeDataGroup>> GetGroupsAsync(...
method GetGroupAsync (line 321) | public static async Task<RecipeDataGroup> GetGroupAsync(string uniqueId)
method GetItemAsync (line 330) | public static async Task<RecipeDataItem> GetItemAsync(string uniqueId)
method EnsureRecipeDataLoaded (line 339) | private static async Task EnsureRecipeDataLoaded()
method LoadLocalDataAsync (line 347) | public async Task LoadLocalDataAsync()
method CreateRecipesAndRecipeGroups (line 360) | private static void CreateRecipesAndRecipeGroups(JsonArray array)
method CreateRecipeGroup (line 424) | private static RecipeDataGroup CreateRecipeGroup(JsonObject obj)
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/DataModel/SampleDataSource.cs
class SampleDataCommon (line 43) | [Windows.Foundation.Metadata.WebHostHidden]
method SampleDataCommon (line 48) | public SampleDataCommon(String uniqueId, String title, String subtitle...
method SetImage (line 105) | public void SetImage(String path)
class SampleDataItem (line 116) | public class SampleDataItem : SampleDataCommon
method SampleDataItem (line 118) | public SampleDataItem(String uniqueId, String title, String subtitle, ...
class SampleDataGroup (line 167) | public class SampleDataGroup : SampleDataCommon
method SampleDataGroup (line 169) | public SampleDataGroup(String uniqueId, String title, String subtitle,...
class SampleDataSource (line 196) | public sealed class SampleDataSource
method GetGroups (line 206) | public static IEnumerable<SampleDataGroup> GetGroups(string uniqueId)
method GetGroup (line 213) | public static SampleDataGroup GetGroup(string uniqueId)
method GetItem (line 221) | public static SampleDataItem GetItem(string uniqueId)
method SampleDataSource (line 229) | public SampleDataSource()
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/GroupDetailPage.xaml.cs
class GroupDetailPage (line 26) | public sealed partial class GroupDetailPage : Page
method GroupDetailPage (line 48) | public GroupDetailPage()
method navigationHelper_LoadState (line 69) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnNavigatedTo (line 89) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 94) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method lstRecipes_SelectionChanged (line 101) | private void lstRecipes_SelectionChanged(object sender, SelectionChang...
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 46) | public MainPage()
method navigationHelper_LoadState (line 65) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnNavigatedTo (line 85) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 90) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method About_Click (line 97) | private void About_Click(object sender, RoutedEventArgs e)
method lstGroups_SelectionChanged (line 102) | private void lstGroups_SelectionChanged(object sender, SelectionChange...
FILE: MigrationDemo/Begin/ContosoCookbook/ContosoCookbook/RecipeDetailPage.xaml.cs
class RecipeDetailPage (line 34) | public sealed partial class RecipeDetailPage : Page
method RecipeDetailPage (line 73) | public RecipeDetailPage()
method navigationHelper_LoadState (line 94) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnShareDataRequested (line 107) | private async void OnShareDataRequested(DataTransferManager sender, Da...
method OnNavigatedTo (line 152) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 157) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method btnPinToStart_Click (line 164) | private async void btnPinToStart_Click(object sender, RoutedEventArgs e)
method btnReminderTimer_Click (line 190) | private async void btnReminderTimer_Click(object sender, RoutedEventAr...
method btnShare_Click (line 213) | private void btnShare_Click(object sender, RoutedEventArgs e)
method btnPhoto_Click (line 225) | private void btnPhoto_Click(object sender, RoutedEventArgs e)
method FileOpenPicker_Continuation (line 241) | private async void FileOpenPicker_Continuation(StorageFile file)
FILE: MigrationDemo/Controls/BackButton.xaml.cs
class BackButton (line 24) | public sealed partial class BackButton : UserControl
method BackButton (line 26) | public BackButton()
method BackButton_Loaded (line 35) | private void BackButton_Loaded(object sender, RoutedEventArgs e)
method CalculateOnCanvasBackVisibility (line 45) | private Visibility CalculateOnCanvasBackVisibility()
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/AboutPage.xaml.cs
class AboutPage (line 23) | public sealed partial class AboutPage : Page
method AboutPage (line 45) | public AboutPage()
method navigationHelper_LoadState (line 64) | private void navigationHelper_LoadState(object sender, LoadStateEventA...
method OnNavigatedTo (line 84) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 89) | protected override void OnNavigatedFrom(NavigationEventArgs e)
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/App.xaml.cs
class App (line 26) | sealed partial class App : Application
method App (line 32) | public App()
method App_BackRequested (line 37) | private void App_BackRequested(object sender, Windows.UI.Core.BackRequ...
method OnLaunched (line 59) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnSuspending (line 104) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/Common/NavigationHelper.cs
class NavigationHelper (line 59) | [Windows.Foundation.Metadata.WebHostHidden]
method NavigationHelper (line 71) | public NavigationHelper(Page page)
method CanGoBack (line 161) | public virtual bool CanGoBack()
method CanGoForward (line 173) | public virtual bool CanGoForward()
method GoBack (line 182) | public virtual void GoBack()
method GoForward (line 190) | public virtual void GoForward()
method CoreDispatcher_AcceleratorKeyActivated (line 202) | private void CoreDispatcher_AcceleratorKeyActivated(CoreDispatcher sen...
method CoreWindow_PointerPressed (line 246) | private void CoreWindow_PointerPressed(CoreWindow sender,
method OnNavigatedTo (line 293) | public void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 335) | public void OnNavigatedFrom(NavigationEventArgs e)
class LoadStateEventArgs (line 361) | public class LoadStateEventArgs : EventArgs
method LoadStateEventArgs (line 385) | public LoadStateEventArgs(Object navigationParameter, Dictionary<strin...
class SaveStateEventArgs (line 395) | public class SaveStateEventArgs : EventArgs
method SaveStateEventArgs (line 406) | public SaveStateEventArgs(Dictionary<string, Object> pageState)
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/Common/ObservableDictionary.cs
class ObservableDictionary (line 12) | public class ObservableDictionary : IObservableMap<string, object>
class ObservableDictionaryChangedEventArgs (line 14) | private class ObservableDictionaryChangedEventArgs : IMapChangedEventA...
method ObservableDictionaryChangedEventArgs (line 16) | public ObservableDictionaryChangedEventArgs(CollectionChange change,...
method InvokeMapChanged (line 29) | private void InvokeMapChanged(CollectionChange change, string key)
method Add (line 38) | public void Add(string key, object value)
method Add (line 44) | public void Add(KeyValuePair<string, object> item)
method Remove (line 49) | public bool Remove(string key)
method Remove (line 59) | public bool Remove(KeyValuePair<string, object> item)
method Clear (line 84) | public void Clear()
method ContainsKey (line 99) | public bool ContainsKey(string key)
method TryGetValue (line 104) | public bool TryGetValue(string key, out object value)
method Contains (line 114) | public bool Contains(KeyValuePair<string, object> item)
method GetEnumerator (line 129) | public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
method GetEnumerator (line 134) | System.Collections.IEnumerator System.Collections.IEnumerable.GetEnume...
method CopyTo (line 139) | public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/Common/RelayCommand.cs
class RelayCommand (line 17) | public class RelayCommand : ICommand
method RelayCommand (line 31) | public RelayCommand(Action execute)
method RelayCommand (line 41) | public RelayCommand(Action execute, Func<bool> canExecute)
method CanExecute (line 56) | public bool CanExecute(object parameter)
method Execute (line 67) | public void Execute(object parameter)
method RaiseCanExecuteChanged (line 77) | public void RaiseCanExecuteChanged()
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/Common/SuspensionManager.cs
class SuspensionManager (line 23) | internal sealed class SuspensionManager
method SaveAsync (line 58) | public static async Task SaveAsync()
method RestoreAsync (line 101) | public static async Task RestoreAsync()
method RegisterFrame (line 151) | public static void RegisterFrame(Frame frame, String sessionStateKey)
method UnregisterFrame (line 179) | public static void UnregisterFrame(Frame frame)
method SessionStateForFrame (line 204) | public static Dictionary<String, Object> SessionStateForFrame(Frame fr...
method RestoreFrameNavigationState (line 230) | private static void RestoreFrameNavigationState(Frame frame)
method SaveFrameNavigationState (line 239) | private static void SaveFrameNavigationState(Frame frame)
class SuspensionManagerException (line 245) | public class SuspensionManagerException : Exception
method SuspensionManagerException (line 247) | public SuspensionManagerException()
method SuspensionManagerException (line 251) | public SuspensionManagerException(Exception e)
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/Controls/BackButton.xaml.cs
class BackButton (line 24) | public sealed partial class BackButton : UserControl
method BackButton (line 26) | public BackButton()
method BackButton_Loaded (line 35) | private void BackButton_Loaded(object sender, RoutedEventArgs e)
method CalculateOnCanvasBackVisibility (line 45) | private Visibility CalculateOnCanvasBackVisibility()
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/Converters/ImageSourceToStringConverter.cs
class ImageSourceToStringConverter (line 10) | public class ImageSourceToStringConverter : IValueConverter
method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame...
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/Converters/UserImagesDisplayConverter.cs
class UserImagesDisplayConverter (line 12) | public class UserImagesDisplayConverter : IValueConverter
method Convert (line 14) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 29) | public object ConvertBack(object value, Type targetType, object parame...
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/DataModel/BindableBase.cs
class BindableBase (line 27) | [Windows.Foundation.Metadata.WebHostHidden]
method SetProperty (line 47) | protected bool SetProperty<T>(ref T storage, T value, [CallerMemberNam...
method OnPropertyChanged (line 62) | protected void OnPropertyChanged([CallerMemberName] string propertyNam...
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/DataModel/RecipeDataSource.cs
class RecipeDataCommon (line 42) | [Windows.Foundation.Metadata.WebHostHidden]
method RecipeDataCommon (line 47) | public RecipeDataCommon(String uniqueId, String title, String shortTit...
method SetImage (line 105) | public void SetImage(String path)
method GetImageUri (line 112) | public string GetImageUri()
class UserPhotoDataItem (line 121) | public class UserPhotoDataItem : RecipeDataCommon
method UserPhotoDataItem (line 125) | public UserPhotoDataItem()
class RecipeDataItem (line 134) | public class RecipeDataItem : RecipeDataCommon
method RecipeDataItem (line 136) | public RecipeDataItem()
method RecipeDataItem (line 143) | public RecipeDataItem(String uniqueId, String title, String shortTitle...
method SetTileImage (line 214) | public void SetTileImage(String path)
class RecipeDataGroup (line 225) | public class RecipeDataGroup : RecipeDataCommon
method RecipeDataGroup (line 227) | public RecipeDataGroup()
method RecipeDataGroup (line 232) | public RecipeDataGroup(String uniqueId, String title, String shortTitl...
method SetGroupImage (line 290) | public void SetGroupImage(String path)
class RecipeDataSource (line 301) | public sealed class RecipeDataSource
method GetGroupsAsync (line 313) | public static async Task<IEnumerable<RecipeDataGroup>> GetGroupsAsync(...
method GetGroupAsync (line 321) | public static async Task<RecipeDataGroup> GetGroupAsync(string uniqueId)
method GetItemAsync (line 330) | public static async Task<RecipeDataItem> GetItemAsync(string uniqueId)
method EnsureRecipeDataLoaded (line 339) | private static async Task EnsureRecipeDataLoaded()
method LoadLocalDataAsync (line 347) | public async Task LoadLocalDataAsync()
method CreateRecipesAndRecipeGroups (line 360) | private static void CreateRecipesAndRecipeGroups(JsonArray array)
method CreateRecipeGroup (line 424) | private static RecipeDataGroup CreateRecipeGroup(JsonObject obj)
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/DataModel/SampleDataSource.cs
class SampleDataCommon (line 43) | [Windows.Foundation.Metadata.WebHostHidden]
method SampleDataCommon (line 48) | public SampleDataCommon(String uniqueId, String title, String subtitle...
method SetImage (line 105) | public void SetImage(String path)
class SampleDataItem (line 116) | public class SampleDataItem : SampleDataCommon
method SampleDataItem (line 118) | public SampleDataItem(String uniqueId, String title, String subtitle, ...
class SampleDataGroup (line 167) | public class SampleDataGroup : SampleDataCommon
method SampleDataGroup (line 169) | public SampleDataGroup(String uniqueId, String title, String subtitle,...
class SampleDataSource (line 196) | public sealed class SampleDataSource
method GetGroups (line 206) | public static IEnumerable<SampleDataGroup> GetGroups(string uniqueId)
method GetGroup (line 213) | public static SampleDataGroup GetGroup(string uniqueId)
method GetItem (line 221) | public static SampleDataItem GetItem(string uniqueId)
method SampleDataSource (line 229) | public SampleDataSource()
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/GroupDetailPage.xaml.cs
class GroupDetailPage (line 26) | public sealed partial class GroupDetailPage : Page
method GroupDetailPage (line 48) | public GroupDetailPage()
method navigationHelper_LoadState (line 69) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnNavigatedTo (line 89) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 94) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method lstRecipes_SelectionChanged (line 101) | private void lstRecipes_SelectionChanged(object sender, SelectionChang...
method AppBarButton_Click (line 110) | private void AppBarButton_Click(object sender, RoutedEventArgs e)
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 46) | public MainPage()
method navigationHelper_LoadState (line 65) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnNavigatedTo (line 85) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 90) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method About_Click (line 97) | private void About_Click(object sender, RoutedEventArgs e)
method lstGroups_SelectionChanged (line 102) | private void lstGroups_SelectionChanged(object sender, SelectionChange...
FILE: MigrationDemo/End/ContosoCookbook/ContosoCookbook/RecipeDetailPage.xaml.cs
class RecipeDetailPage (line 34) | public sealed partial class RecipeDetailPage : Page
method RecipeDetailPage (line 57) | public RecipeDetailPage()
method navigationHelper_LoadState (line 78) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnShareDataRequested (line 91) | private async void OnShareDataRequested(DataTransferManager sender, Da...
method OnNavigatedTo (line 136) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 141) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method btnPinToStart_Click (line 148) | private async void btnPinToStart_Click(object sender, RoutedEventArgs e)
method btnReminderTimer_Click (line 174) | private async void btnReminderTimer_Click(object sender, RoutedEventAr...
method btnShare_Click (line 197) | private void btnShare_Click(object sender, RoutedEventArgs e)
method btnPhoto_Click (line 209) | private async void btnPhoto_Click(object sender, RoutedEventArgs e)
method AppBarButton_Click (line 229) | private void AppBarButton_Click(object sender, RoutedEventArgs e)
FILE: Navigation/Blank1/ViewModels/Page2ViewModel.cs
class Page2ViewModel (line 11) | class Page2ViewModel: ViewModelBase
method Page2ViewModel (line 13) | public Page2ViewModel()
method OnNavigatedTo (line 18) | public override void OnNavigatedTo(string parameter, NavigationMode mo...
FILE: Navigation/Blank1/Views/MainPage.xaml.cs
class MainPage (line 5) | public sealed partial class MainPage : Page
method MainPage (line 7) | public MainPage()
method Goto2 (line 16) | private void Goto2(object sender, Windows.UI.Xaml.RoutedEventArgs e)
FILE: Performance/Performance/App.xaml.cs
class App (line 8) | sealed partial class App : Common.BootStrapper
method App (line 10) | public App() : base()
method OnInitializeAsync (line 15) | public override Task OnInitializeAsync()
method OnLaunchedAsync (line 22) | public override Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
FILE: Performance/Performance/Common/BootStrapper.cs
class BootStrapper (line 16) | public abstract class BootStrapper : Application
method BootStrapper (line 26) | public BootStrapper()
method OnActivated (line 51) | protected override async void OnActivated(IActivatedEventArgs e) { awa...
method OnCachedFileUpdaterActivated (line 52) | protected override async void OnCachedFileUpdaterActivated(CachedFileU...
method OnFileActivated (line 53) | protected override async void OnFileActivated(FileActivatedEventArgs a...
method OnFileOpenPickerActivated (line 54) | protected override async void OnFileOpenPickerActivated(FileOpenPicker...
method OnFileSavePickerActivated (line 55) | protected override async void OnFileSavePickerActivated(FileSavePicker...
method OnSearchActivated (line 56) | protected override async void OnSearchActivated(SearchActivatedEventAr...
method OnShareTargetActivated (line 57) | protected override async void OnShareTargetActivated(ShareTargetActiva...
method InternalActivatedAsync (line 59) | private async Task InternalActivatedAsync(IActivatedEventArgs e)
method OnLaunched (line 67) | protected override void OnLaunched(LaunchActivatedEventArgs e) { Inter...
method InternalLaunchAsync (line 69) | private async void InternalLaunchAsync(ILaunchActivatedEventArgs e)
method OnBackRequested (line 118) | private void OnBackRequested(object sender, Windows.UI.Core.BackReques...
method OnInitializeAsync (line 137) | public virtual Task OnInitializeAsync() { return Task.FromResult<objec...
method OnActivatedAsync (line 138) | public virtual Task OnActivatedAsync(IActivatedEventArgs e) { return T...
method OnLaunchedAsync (line 139) | public abstract Task OnLaunchedAsync(ILaunchActivatedEventArgs e);
method OnResuming (line 140) | protected virtual void OnResuming(object s, object e) { }
method OnSuspendingAsync (line 141) | protected virtual Task OnSuspendingAsync(object s, SuspendingEventArgs...
FILE: Performance/Performance/Converters/DateTimeFormatConverter.cs
class DateTimeFormatConverter (line 10) | class DateTimeFormatConverter : IValueConverter
method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame...
FILE: Performance/Performance/Converters/ValueWhenConverter.cs
class ValueWhenConverter (line 6) | class ValueWhenConverter : IValueConverter
method Convert (line 8) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 22) | public object ConvertBack(object value, Type targetType, object parame...
FILE: Performance/Performance/Models/TodoItem.cs
class TodoItem (line 5) | public class TodoItem : Mvvm.BindableBase
FILE: Performance/Performance/Models/TodoList.cs
class TodoList (line 7) | public class TodoList : Mvvm.BindableBase
FILE: Performance/Performance/Mvvm/BindableBase.cs
class BindableBase (line 6) | public abstract class BindableBase : INotifyPropertyChanged
method RaisePropertyChanged (line 10) | public void RaisePropertyChanged([CallerMemberName]string propertyName...
method Set (line 15) | public void Set<T>(ref T storage, T value, [CallerMemberName()]string ...
FILE: Performance/Performance/Mvvm/Command.cs
class Command (line 13) | public class Command : System.Windows.Input.ICommand
method Command (line 19) | public Command(Action execute)
method Command (line 23) | public Command(Action execute, Func<bool> canexecute)
method CanExecute (line 31) | [DebuggerStepThrough]
method Execute (line 45) | public void Execute(object p)
method RaiseCanExecuteChanged (line 55) | public void RaiseCanExecuteChanged()
method Command (line 68) | public Command(Action<T> execute)
method Command (line 72) | public Command(Action<T> execute, Func<T, bool> canexecute)
method CanExecute (line 80) | [DebuggerStepThrough]
method Execute (line 95) | public void Execute(object p)
method RaiseCanExecuteChanged (line 106) | public void RaiseCanExecuteChanged()
class Command (line 62) | public class Command<T> : System.Windows.Input.ICommand
method Command (line 19) | public Command(Action execute)
method Command (line 23) | public Command(Action execute, Func<bool> canexecute)
method CanExecute (line 31) | [DebuggerStepThrough]
method Execute (line 45) | public void Execute(object p)
method RaiseCanExecuteChanged (line 55) | public void RaiseCanExecuteChanged()
method Command (line 68) | public Command(Action<T> execute)
method Command (line 72) | public Command(Action<T> execute, Func<T, bool> canexecute)
method CanExecute (line 80) | [DebuggerStepThrough]
method Execute (line 95) | public void Execute(object p)
method RaiseCanExecuteChanged (line 106) | public void RaiseCanExecuteChanged()
FILE: Performance/Performance/Mvvm/ViewModelBase.cs
class ViewModelBase (line 7) | public abstract class ViewModelBase : BindableBase, Services.NavigationS...
method OnNavigatedTo (line 9) | public virtual void OnNavigatedTo(string parameter, NavigationMode mod...
method OnNavigatedFrom (line 11) | public virtual void OnNavigatedFrom(Dictionary<string, object> state, ...
FILE: Performance/Performance/Repositories/TodoItemRepository.cs
class TodoItemRepository (line 9) | public class TodoItemRepository
method Factory (line 11) | public Models.TodoItem Factory(string key = null, bool? complete = nul...
method Clone (line 21) | public Models.TodoItem Clone(Models.TodoItem item)
method Sample (line 32) | public IEnumerable<Models.TodoItem> Sample(int count = 5)
FILE: Performance/Performance/Services/FileService/FileHelper.cs
class FileHelper (line 10) | class FileHelper
method FileExistsAsync (line 16) | public async Task<bool> FileExistsAsync(string key, StorageStrategies ...
method FileExistsAsync (line 21) | public async Task<bool> FileExistsAsync(string key, Windows.Storage.St...
method DeleteFileAsync (line 29) | public async Task<bool> DeleteFileAsync(string key, StorageStrategies ...
method ReadFileAsync (line 42) | public async Task<T> ReadFileAsync<T>(string key, StorageStrategies lo...
method WriteFileAsync (line 67) | public async Task<bool> WriteFileAsync<T>(string key, T value, Storage...
method CreateFileAsync (line 79) | private async Task<Windows.Storage.StorageFile> CreateFileAsync(string...
method GetIfFileExistsAsync (line 95) | private async Task<Windows.Storage.StorageFile> GetIfFileExistsAsync(s...
method GetIfFileExistsAsync (line 115) | private async Task<Windows.Storage.StorageFile> GetIfFileExistsAsync(s...
method Serialize (line 146) | private string Serialize<T>(T item)
method Deserialize (line 156) | private T Deserialize<T>(string json)
type StorageStrategies (line 161) | public enum StorageStrategies { Local, Roaming, Temporary }
FILE: Performance/Performance/Services/FileService/FileService.cs
class FileService (line 9) | class FileService
method ReadAsync (line 13) | public async Task<List<T>> ReadAsync<T>(string key)
method WriteAsync (line 19) | public async Task WriteAsync<T>(string key, List<T> items)
FILE: Performance/Performance/Services/NavigationService/INavigatable.cs
type INavigatable (line 6) | public interface INavigatable
method OnNavigatedTo (line 8) | void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<s...
method OnNavigatedFrom (line 9) | void OnNavigatedFrom(Dictionary<string, object> state, bool suspending);
FILE: Performance/Performance/Services/NavigationService/NavigationEventArgs.cs
class NavigationEventArgs (line 10) | public class NavigationEventArgs : EventArgs
FILE: Performance/Performance/Services/NavigationService/NavigationFacade.cs
class NavigationFacade (line 13) | public class NavigationFacade
method NavigationFacade (line 15) | public NavigationFacade(Frame frame)
method Navigate (line 33) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 35) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 37) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 43) | public void GoBack() { _frame.GoBack(); }
method Refresh (line 45) | public void Refresh()
method GoForward (line 55) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 63) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 65) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 67) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 95) | void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Naviga...
method FacadeNavigatingCancelEventHandler (line 133) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
FILE: Performance/Performance/Services/NavigationService/NavigationService.cs
class NavigationService (line 8) | public class NavigationService
method NavigationService (line 16) | public NavigationService(Frame frame)
method NavigateFrom (line 23) | void NavigateFrom(bool suspending)
method NavigateTo (line 36) | void NavigateTo(NavigationMode mode, string parameter)
method Navigate (line 57) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 67) | public void RestoreSavedNavigation() { /* TODO */ }
method GoBack (line 69) | public void GoBack() { if (_frame.CanGoBack) _frame.GoBack(); }
method GoForward (line 73) | public void GoForward() { _frame.GoForward(); }
method ClearHistory (line 77) | public void ClearHistory() { _frame.SetNavigationState(EmptyNavigation...
method Suspending (line 79) | public void Suspending() { NavigateFrom(true); }
method Show (line 81) | public void Show(SettingsFlyout flyout, string parameter = null)
FILE: Performance/Performance/ViewModels/IncrementalAccessPageViewModel.cs
class IncrementalAccessPageViewModel (line 10) | public class IncrementalAccessPageViewModel : Mvvm.ViewModelBase
method IncrementalAccessPageViewModel (line 12) | public IncrementalAccessPageViewModel()
FILE: Performance/Performance/ViewModels/RandomAccessPageViewModel.cs
class RandomAccessPageViewModel (line 5) | class RandomAccessPageViewModel : Mvvm.ViewModelBase
method RandomAccessPageViewModel (line 7) | public RandomAccessPageViewModel()
FILE: Performance/Performance/ViewModels/TodoItemViewModel.cs
class TodoItemViewModel (line 9) | public class TodoItemViewModel : Mvvm.ViewModelBase
method TodoItemViewModel (line 12) | public TodoItemViewModel(Models.TodoItem todo)
FILE: Performance/Performance/Views/DeferedPhasePage.xaml.cs
class DeferedPhasePage (line 23) | public sealed partial class DeferedPhasePage : Page
method DeferedPhasePage (line 25) | public DeferedPhasePage()
FILE: Performance/Performance/Views/IncrementalAccessPage.xaml.cs
class IncrementalAccessPage (line 23) | public sealed partial class IncrementalAccessPage : Page
method IncrementalAccessPage (line 25) | public IncrementalAccessPage()
FILE: Performance/Performance/Views/RandomAccessPage.xaml.cs
class RandomAccessPage (line 7) | public sealed partial class RandomAccessPage : Page
method RandomAccessPage (line 9) | public RandomAccessPage()
FILE: Performance/Performance/Views/ShellPage.xaml.cs
class ShellPage (line 5) | public sealed partial class ShellPage : Page
method ShellPage (line 8) | public ShellPage(Frame frame)
method Rav_Click (line 15) | private void Rav_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
method Iav_Click (line 20) | private void Iav_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
method Dpr_Click (line 25) | private void Dpr_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
FILE: Performance/Performance/Virtualize/IProvider.cs
type IProvider (line 10) | public interface IProvider<T> : INotifyPropertyChanged
method LoadAsync (line 15) | Task<Dictionary<int, T>> LoadAsync(uint start, int size);
FILE: Performance/Performance/Virtualize/IncrementalList.cs
class IncrementalList (line 11) | public class IncrementalList<T> : List<T>, ISupportIncrementalLoading, I...
method IncrementalList (line 19) | public IncrementalList(IProvider<T> provider, int pageSize = 10)
method LoadMoreItemsAsync (line 32) | public IAsyncOperation<LoadMoreItemsResult> LoadMoreItemsAsync(uint co...
FILE: Performance/Performance/Virtualize/ObservableVector.cs
class ObservableVector (line 14) | public class ObservableVector<T> : IObservableVector<T>, IList<T>, IEnum...
method ObservableVector (line 19) | public ObservableVector(INotifyCollectionChanged list)
method IndexOf (line 34) | public int IndexOf(T item)
method Insert (line 39) | public void Insert(int index, T item)
method RemoveAt (line 49) | public void RemoveAt(int index)
method Add (line 80) | public void Add(T item)
method Contains (line 90) | public bool Contains(T item)
method CopyTo (line 95) | public void CopyTo(T[] array, int arrayIndex)
method Remove (line 116) | public bool Remove(T item)
method First (line 133) | public Windows.Foundation.Collections.IIterator<object> First()
method GetEnumerator (line 142) | public IEnumerator GetEnumerator()
method GetEnumerator (line 151) | IEnumerator<T> IEnumerable<T>.GetEnumerator()
method Append (line 166) | public void Append(T value)
method Clear (line 176) | public void Clear()
method GetAt (line 186) | public object GetAt(uint index)
method GetMany (line 191) | public uint GetMany(uint startIndex, object[] items)
method GetView (line 196) | public IReadOnlyList<T> GetView()
method IndexOf (line 201) | public bool IndexOf(T value, out uint index)
method InsertAt (line 207) | public void InsertAt(uint index, T value)
method RemoveAt (line 217) | public void RemoveAt(uint index)
method RemoveAtEnd (line 227) | public void RemoveAtEnd()
method ReplaceAll (line 237) | public void ReplaceAll(object[] items)
method SetAt (line 242) | public void SetAt(uint index, T value)
class VectorChangedEventArgs (line 263) | public class VectorChangedEventArgs : IVectorChangedEventArgs
class ObservableVectorExtensionClass (line 282) | public static class ObservableVectorExtensionClass
method ToObservableVector (line 284) | public static ObservableVector<T> ToObservableVector<T>(this INotifyCo...
FILE: Performance/Performance/Virtualize/RandomAccessList - Copy.cs
class RandomAccessList (line 12) | public class RandomAccessList<T> : Collection<object>, INotifyPropertyCh...
method RandomAccessList (line 30) | public RandomAccessList(IProvider<T> provider, int takeSize = 20)
method StartLoadAsync (line 51) | private async void StartLoadAsync(int start)
method ClearItems (line 78) | protected override void ClearItems()
method InsertItem (line 84) | protected override void InsertItem(int index, object item)
method RemoveItem (line 90) | protected override void RemoveItem(int index)
method SetItem (line 96) | protected override void SetItem(int index, object item)
method RaiseChanged (line 102) | void RaiseChanged(bool count, bool items, CollectionChange change, uin...
method IndexOf (line 109) | public new int IndexOf(object item) { throw new NotImplementedExceptio...
method Insert (line 110) | public new void Insert(int index, object item) { throw new NotImplemen...
method Add (line 111) | public new void Add(object item) { throw new NotImplementedException(); }
method Contains (line 112) | public new bool Contains(object item) { throw new NotImplementedExcept...
method CopyTo (line 113) | public new void CopyTo(object[] array, int arrayIndex) { throw new Not...
method Remove (line 114) | public new bool Remove(object item) { throw new NotImplementedExceptio...
method GetEnumerator (line 115) | IEnumerator<object> IEnumerable<object>.GetEnumerator() { throw new No...
class VectorChangedEventArgs (line 117) | private class VectorChangedEventArgs : IVectorChangedEventArgs
FILE: Performance/Performance/Virtualize/RandomAccessList.cs
class RandomAccessList (line 13) | public class RandomAccessList<T> : ObservableCollection<object>, IObserv...
method RandomAccessList (line 32) | public RandomAccessList(IProvider<T> provider, int takeSize = 20)
class VectorChangedEventArgs (line 85) | private class VectorChangedEventArgs : IVectorChangedEventArgs
FILE: Performance/Performance/Virtualize/TodoItemViewModelProvider.cs
class TodoItemViewModelProvider (line 12) | public class TodoItemViewModelProvider : IProvider<TodoItemViewModel>
method TodoItemViewModelProvider (line 17) | public TodoItemViewModelProvider()
method LoadAsync (line 30) | public async Task<Dictionary<int, TodoItemViewModel>> LoadAsync(uint s...
FILE: ProtocolHandlerDemo/FirstProtocolHandler/App.xaml.cs
class App (line 26) | sealed partial class App : Application
method App (line 37) | public App()
method OnLaunched (line 48) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 96) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 108) | private void OnSuspending(object sender, SuspendingEventArgs e)
method OnActivated (line 115) | protected override void OnActivated(IActivatedEventArgs args)
FILE: ProtocolHandlerDemo/FirstProtocolHandler/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 26) | public MainPage()
FILE: ProtocolHandlerDemo/ProtocolHandlerDemo/App.xaml.cs
class App (line 26) | sealed partial class App : Application
method App (line 37) | public App()
method OnLaunched (line 48) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 96) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 108) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: ProtocolHandlerDemo/ProtocolHandlerDemo/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 26) | public MainPage()
method LaunchButton_Click (line 31) | private async void LaunchButton_Click(object sender, RoutedEventArgs e)
FILE: ProtocolHandlerDemo/SecondProtocolHandler/App.xaml.cs
class App (line 26) | sealed partial class App : Application
method App (line 37) | public App()
method OnLaunched (line 48) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 96) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 108) | private void OnSuspending(object sender, SuspendingEventArgs e)
method OnActivated (line 115) | protected override void OnActivated(IActivatedEventArgs args)
FILE: ProtocolHandlerDemo/SecondProtocolHandler/MainPage.xaml.cs
class MainPage (line 23) | public sealed partial class MainPage : Page
method MainPage (line 25) | public MainPage()
FILE: PushTriggerSample/PushTriggerBackgroundTask/RawTriggerTask.cs
class RawTriggerTask (line 15) | public sealed class RawTriggerTask : IBackgroundTask
method Run (line 17) | public void Run(IBackgroundTaskInstance taskInstance)
method DeliverToast (line 37) | private void DeliverToast(string todoTitle, string todoID)
FILE: PushTriggerSample/PushTriggerSample/App.xaml.cs
class App (line 9) | sealed partial class App : Common.BootStrapper
method App (line 11) | public App() : base()
method OnLaunchedAsync (line 16) | public async override Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
FILE: PushTriggerSample/PushTriggerSample/Common/BootStrapper.cs
class BootStrapper (line 16) | public abstract class BootStrapper : Application
method BootStrapper (line 26) | public BootStrapper()
method OnActivated (line 51) | protected override async void OnActivated(IActivatedEventArgs e) { awa...
method OnCachedFileUpdaterActivated (line 52) | protected override async void OnCachedFileUpdaterActivated(CachedFileU...
method OnFileActivated (line 53) | protected override async void OnFileActivated(FileActivatedEventArgs a...
method OnFileOpenPickerActivated (line 54) | protected override async void OnFileOpenPickerActivated(FileOpenPicker...
method OnFileSavePickerActivated (line 55) | protected override async void OnFileSavePickerActivated(FileSavePicker...
method OnSearchActivated (line 56) | protected override async void OnSearchActivated(SearchActivatedEventAr...
method OnShareTargetActivated (line 57) | protected override async void OnShareTargetActivated(ShareTargetActiva...
method InternalActivatedAsync (line 59) | private async Task InternalActivatedAsync(IActivatedEventArgs e)
method OnLaunched (line 67) | protected override void OnLaunched(LaunchActivatedEventArgs e) { Inter...
method InternalLaunchAsync (line 69) | private async void InternalLaunchAsync(ILaunchActivatedEventArgs e)
method OnBackRequested (line 118) | private void OnBackRequested(object sender, Windows.UI.Core.BackReques...
method OnInitializeAsync (line 137) | public virtual Task OnInitializeAsync() { return Task.FromResult<objec...
method OnActivatedAsync (line 138) | public virtual Task OnActivatedAsync(IActivatedEventArgs e) { return T...
method OnLaunchedAsync (line 139) | public abstract Task OnLaunchedAsync(ILaunchActivatedEventArgs e);
method OnResuming (line 140) | protected virtual void OnResuming(object s, object e) { }
method OnSuspendingAsync (line 141) | protected virtual Task OnSuspendingAsync(object s, SuspendingEventArgs...
FILE: PushTriggerSample/PushTriggerSample/Converters/DateTimeFormatConverter.cs
class DateTimeFormatConverter (line 10) | class DateTimeFormatConverter : IValueConverter
method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame...
FILE: PushTriggerSample/PushTriggerSample/Converters/ValueWhenConverter.cs
class ValueWhenConverter (line 6) | class ValueWhenConverter : IValueConverter
method Convert (line 8) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 22) | public object ConvertBack(object value, Type targetType, object parame...
FILE: PushTriggerSample/PushTriggerSample/Helpers/PushHandlingHelper.cs
class PushHandlingHelper (line 9) | public static class PushHandlingHelper
method RegisterForPushAsync (line 11) | public static async Task<string> RegisterForPushAsync()
method channel_PushNotificationReceived (line 18) | static void channel_PushNotificationReceived(PushNotificationChannel s...
FILE: PushTriggerSample/PushTriggerSample/Models/TodoItem.cs
class TodoItem (line 5) | public class TodoItem : Mvvm.BindableBase
FILE: PushTriggerSample/PushTriggerSample/Models/TodoList.cs
class TodoList (line 7) | public class TodoList : Mvvm.BindableBase
FILE: PushTriggerSample/PushTriggerSample/Mvvm/BindableBase.cs
class BindableBase (line 6) | public abstract class BindableBase : INotifyPropertyChanged
method RaisePropertyChanged (line 10) | public void RaisePropertyChanged([CallerMemberName]string propertyName...
method Set (line 15) | public void Set<T>(ref T storage, T value, [CallerMemberName()]string ...
FILE: PushTriggerSample/PushTriggerSample/Mvvm/Command.cs
class Command (line 13) | public class Command : System.Windows.Input.ICommand
method Command (line 19) | public Command(Action execute)
method Command (line 23) | public Command(Action execute, Func<bool> canexecute)
method CanExecute (line 31) | [DebuggerStepThrough]
method Execute (line 45) | public void Execute(object p)
method RaiseCanExecuteChanged (line 55) | public void RaiseCanExecuteChanged()
method Command (line 68) | public Command(Action<T> execute)
method Command (line 72) | public Command(Action<T> execute, Func<T, bool> canexecute)
method CanExecute (line 80) | [DebuggerStepThrough]
method Execute (line 95) | public void Execute(object p)
method RaiseCanExecuteChanged (line 106) | public void RaiseCanExecuteChanged()
class Command (line 62) | public class Command<T> : System.Windows.Input.ICommand
method Command (line 19) | public Command(Action execute)
method Command (line 23) | public Command(Action execute, Func<bool> canexecute)
method CanExecute (line 31) | [DebuggerStepThrough]
method Execute (line 45) | public void Execute(object p)
method RaiseCanExecuteChanged (line 55) | public void RaiseCanExecuteChanged()
method Command (line 68) | public Command(Action<T> execute)
method Command (line 72) | public Command(Action<T> execute, Func<T, bool> canexecute)
method CanExecute (line 80) | [DebuggerStepThrough]
method Execute (line 95) | public void Execute(object p)
method RaiseCanExecuteChanged (line 106) | public void RaiseCanExecuteChanged()
FILE: PushTriggerSample/PushTriggerSample/Mvvm/ViewModelBase.cs
class ViewModelBase (line 7) | public abstract class ViewModelBase : BindableBase, Services.NavigationS...
method OnNavigatedTo (line 9) | public virtual void OnNavigatedTo(string parameter, NavigationMode mod...
method OnNavigatedFrom (line 11) | public virtual void OnNavigatedFrom(Dictionary<string, object> state, ...
FILE: PushTriggerSample/PushTriggerSample/Repositories/TodoItemRepository.cs
class TodoItemRepository (line 9) | public class TodoItemRepository
method Factory (line 11) | public Models.TodoItem Factory(string key = null, bool? complete = nul...
method Clone (line 21) | public Models.TodoItem Clone(Models.TodoItem item)
method Sample (line 32) | public IEnumerable<Models.TodoItem> Sample(int count = 5)
FILE: PushTriggerSample/PushTriggerSample/Repositories/TodoListRepository.cs
class TodoListRepository (line 9) | public class TodoListRepository
method TodoListRepository (line 16) | public TodoListRepository()
method GetAsync (line 22) | public async Task<List<Models.TodoList>> GetAsync()
method GetAsync (line 27) | public async Task<Models.TodoList> GetAsync(string key)
method SaveAsync (line 32) | public async Task SaveAsync(List<Models.TodoList> list)
method Factory (line 37) | public Models.TodoList Factory(string key = null, string title = null,...
method Clone (line 47) | public Models.TodoList Clone(Models.TodoList list)
method Sample (line 57) | public IEnumerable<Models.TodoList> Sample(int count = 5)
FILE: PushTriggerSample/PushTriggerSample/Services/FileService/FileHelper.cs
class FileHelper (line 10) | class FileHelper
method FileExistsAsync (line 16) | public async Task<bool> FileExistsAsync(string key, StorageStrategies ...
method FileExistsAsync (line 21) | public async Task<bool> FileExistsAsync(string key, Windows.Storage.St...
method DeleteFileAsync (line 29) | public async Task<bool> DeleteFileAsync(string key, StorageStrategies ...
method ReadFileAsync (line 42) | public async Task<T> ReadFileAsync<T>(string key, StorageStrategies lo...
method WriteFileAsync (line 67) | public async Task<bool> WriteFileAsync<T>(string key, T value, Storage...
method CreateFileAsync (line 79) | private async Task<Windows.Storage.StorageFile> CreateFileAsync(string...
method GetIfFileExistsAsync (line 95) | private async Task<Windows.Storage.StorageFile> GetIfFileExistsAsync(s...
method GetIfFileExistsAsync (line 115) | private async Task<Windows.Storage.StorageFile> GetIfFileExistsAsync(s...
method Serialize (line 146) | private string Serialize<T>(T item)
method Deserialize (line 156) | private T Deserialize<T>(string json)
type StorageStrategies (line 161) | public enum StorageStrategies { Local, Roaming, Temporary }
FILE: PushTriggerSample/PushTriggerSample/Services/FileService/FileService.cs
class FileService (line 9) | class FileService
method ReadAsync (line 13) | public async Task<List<T>> ReadAsync<T>(string key)
method WriteAsync (line 19) | public async Task WriteAsync<T>(string key, List<T> items)
FILE: PushTriggerSample/PushTriggerSample/Services/NavigationService/INavigatable.cs
type INavigatable (line 6) | public interface INavigatable
method OnNavigatedTo (line 8) | void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<s...
method OnNavigatedFrom (line 9) | void OnNavigatedFrom(Dictionary<string, object> state, bool suspending);
FILE: PushTriggerSample/PushTriggerSample/Services/NavigationService/NavigationEventArgs.cs
class NavigationEventArgs (line 10) | public class NavigationEventArgs : EventArgs
FILE: PushTriggerSample/PushTriggerSample/Services/NavigationService/NavigationFacade.cs
class NavigationFacade (line 13) | public class NavigationFacade
method NavigationFacade (line 15) | public NavigationFacade(Frame frame)
method Navigate (line 33) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 35) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 37) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 43) | public void GoBack() { _frame.GoBack(); }
method Refresh (line 45) | public void Refresh()
method GoForward (line 55) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 63) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 65) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 67) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 95) | void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Naviga...
method FacadeNavigatingCancelEventHandler (line 133) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
FILE: PushTriggerSample/PushTriggerSample/Services/NavigationService/NavigationService.cs
class NavigationService (line 8) | public class NavigationService
method NavigationService (line 16) | public NavigationService(Frame frame)
method NavigateFrom (line 23) | void NavigateFrom(bool suspending)
method NavigateTo (line 36) | void NavigateTo(NavigationMode mode, string parameter)
method Navigate (line 57) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 67) | public void RestoreSavedNavigation() { /* PushTriggerSample */ }
method GoBack (line 69) | public void GoBack() { if (_frame.CanGoBack) _frame.GoBack(); }
method GoForward (line 73) | public void GoForward() { _frame.GoForward(); }
method ClearHistory (line 77) | public void ClearHistory() { _frame.SetNavigationState(EmptyNavigation...
method Suspending (line 79) | public void Suspending() { NavigateFrom(true); }
method Show (line 81) | public void Show(SettingsFlyout flyout, string parameter = null)
FILE: PushTriggerSample/PushTriggerSample/ViewModels/MainPageViewModel.cs
class MainPageViewModel (line 11) | public class MainPageViewModel : Mvvm.ViewModelBase
method MainPageViewModel (line 15) | public MainPageViewModel()
method OnNavigatedTo (line 36) | public override void OnNavigatedTo(string parameter, NavigationMode mo...
method OnNavigatedFrom (line 41) | public override void OnNavigatedFrom(Dictionary<string, object> state,...
method CanExecuteAddListCommand (line 56) | private bool CanExecuteAddListCommand() { return !Busy; }
method ExecuteAddListCommand (line 57) | private void ExecuteAddListCommand()
method CanExecuteRemoveListCommand (line 70) | private bool CanExecuteRemoveListCommand(ViewModels.TodoListViewModel ...
method ExecuteRemoveListCommand (line 71) | private void ExecuteRemoveListCommand(ViewModels.TodoListViewModel list)
method CanExecuteLoadCommand (line 84) | private bool CanExecuteLoadCommand() { return !Busy; }
method ExecuteLoadCommand (line 85) | private async void ExecuteLoadCommand()
method CanExecuteSaveCommand (line 103) | private bool CanExecuteSaveCommand() { return true; }
method ExecuteSaveCommand (line 104) | private async void ExecuteSaveCommand()
FILE: PushTriggerSample/PushTriggerSample/ViewModels/TodoItemViewModel.cs
class TodoItemViewModel (line 8) | public class TodoItemViewModel : Mvvm.ViewModelBase
method TodoItemViewModel (line 10) | public TodoItemViewModel(Models.TodoItem todo)
FILE: PushTriggerSample/PushTriggerSample/ViewModels/TodoListViewModel.cs
class TodoListViewModel (line 6) | public class TodoListViewModel : Mvvm.ViewModelBase
method TodoListViewModel (line 10) | public TodoListViewModel(Models.TodoList list)
method CanExecuteAddCommand (line 35) | private bool CanExecuteAddCommand(string title) { return true; }
method ExecuteAddCommand (line 36) | private void ExecuteAddCommand(string title)
method CanExecuteRemoveCommand (line 51) | private bool CanExecuteRemoveCommand(Models.TodoItem param) { return t...
method ExecuteRemoveCommand (line 52) | private void ExecuteRemoveCommand(Models.TodoItem param)
FILE: PushTriggerSample/PushTriggerSample/Views/MainPage.xaml.cs
class MainPage (line 8) | public sealed partial class MainPage : Page
method MainPage (line 10) | public MainPage()
method TodoItem_ItemClicked (line 20) | private async void TodoItem_ItemClicked(object sender, ItemClickEventA...
method List_Tapped (line 26) | private async void List_Tapped(object sender, Windows.UI.Xaml.Input.Ta...
method TextBox_KeyDown (line 36) | private void TextBox_KeyDown(object sender, Windows.UI.Xaml.Input.KeyR...
FILE: RoamingSettingsDemo/RoamingSettingsDemo/App.xaml.cs
class App (line 7) | sealed partial class App : Common.BootStrapper
method App (line 9) | public App() : base()
method OnLaunchedAsync (line 14) | public override Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
FILE: RoamingSettingsDemo/RoamingSettingsDemo/Common/BootStrapper.cs
class BootStrapper (line 16) | public abstract class BootStrapper : Application
method BootStrapper (line 26) | public BootStrapper()
method OnActivated (line 51) | protected override async void OnActivated(IActivatedEventArgs e) { awa...
method OnCachedFileUpdaterActivated (line 52) | protected override async void OnCachedFileUpdaterActivated(CachedFileU...
method OnFileActivated (line 53) | protected override async void OnFileActivated(FileActivatedEventArgs a...
method OnFileOpenPickerActivated (line 54) | protected override async void OnFileOpenPickerActivated(FileOpenPicker...
method OnFileSavePickerActivated (line 55) | protected override async void OnFileSavePickerActivated(FileSavePicker...
method OnSearchActivated (line 56) | protected override async void OnSearchActivated(SearchActivatedEventAr...
method OnShareTargetActivated (line 57) | protected override async void OnShareTargetActivated(ShareTargetActiva...
method InternalActivatedAsync (line 59) | private async Task InternalActivatedAsync(IActivatedEventArgs e)
method OnLaunched (line 67) | protected override void OnLaunched(LaunchActivatedEventArgs e) { Inter...
method InternalLaunchAsync (line 69) | private async void InternalLaunchAsync(ILaunchActivatedEventArgs e)
method OnBackRequested (line 118) | private void OnBackRequested(object sender, Windows.UI.Core.BackReques...
method OnInitializeAsync (line 137) | public virtual Task OnInitializeAsync() { return Task.FromResult<objec...
method OnActivatedAsync (line 138) | public virtual Task OnActivatedAsync(IActivatedEventArgs e) { return T...
method OnLaunchedAsync (line 139) | public abstract Task OnLaunchedAsync(ILaunchActivatedEventArgs e);
method OnResuming (line 140) | protected virtual void OnResuming(object s, object e) { }
method OnSuspendingAsync (line 141) | protected virtual Task OnSuspendingAsync(object s, SuspendingEventArgs...
FILE: RoamingSettingsDemo/RoamingSettingsDemo/Services/NavigationService/INavigatable.cs
type INavigatable (line 6) | public interface INavigatable
method OnNavigatedTo (line 8) | void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<s...
method OnNavigatedFrom (line 9) | void OnNavigatedFrom(Dictionary<string, object> state, bool suspending);
method OnNavigatingFrom (line 10) | void OnNavigatingFrom(NavigatingCancelEventArgs args);
FILE: RoamingSettingsDemo/RoamingSettingsDemo/Services/NavigationService/NavigationEventArgs.cs
class NavigationEventArgs (line 10) | public class NavigationEventArgs : EventArgs
FILE: RoamingSettingsDemo/RoamingSettingsDemo/Services/NavigationService/NavigationFacade.cs
class NavigationFacade (line 13) | public class NavigationFacade
method NavigationFacade (line 15) | public NavigationFacade(Frame frame)
method Navigate (line 33) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 35) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 37) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 43) | public void GoBack() { _frame.GoBack(); }
method Refresh (line 45) | public void Refresh()
method GoForward (line 55) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 63) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 65) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 67) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 95) | void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Naviga...
method FacadeNavigatingCancelEventHandler (line 133) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
FILE: RoamingSettingsDemo/RoamingSettingsDemo/Services/NavigationService/NavigationService.cs
class NavigationService (line 8) | public class NavigationService
method NavigationService (line 16) | public NavigationService(Frame frame)
method NavigateFrom (line 23) | void NavigateFrom(bool suspending)
method NavigateTo (line 36) | void NavigateTo(NavigationMode mode, string parameter)
method Navigate (line 57) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 67) | public void RestoreSavedNavigation() { /* TODO */ }
method GoBack (line 69) | public void GoBack() { if (_frame.CanGoBack) _frame.GoBack(); }
method GoForward (line 73) | public void GoForward() { _frame.GoForward(); }
method ClearHistory (line 77) | public void ClearHistory() { _frame.SetNavigationState(EmptyNavigation...
method Suspending (line 79) | public void Suspending() { NavigateFrom(true); }
method Show (line 81) | public void Show(SettingsFlyout flyout, string parameter = null)
FILE: RoamingSettingsDemo/RoamingSettingsDemo/Views/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 26) | public MainPage()
method OnNavigatedTo (line 31) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 38) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method RoamingDataChanged (line 43) | private void RoamingDataChanged(Windows.Storage.ApplicationData sender...
method SetBackgroundFromSettings (line 51) | private void SetBackgroundFromSettings()
method radioButton_Checked (line 74) | private void radioButton_Checked(object sender, RoutedEventArgs e)
FILE: SQLiteDemo/SQLiteDemo/App.xaml.cs
class App (line 28) | public sealed partial class App : Application
method App (line 41) | public App()
method OnLaunched (line 53) | protected async override void OnLaunched(LaunchActivatedEventArgs e)
method RootFrame_FirstNavigated (line 135) | private void RootFrame_FirstNavigated(object sender, NavigationEventAr...
method OnSuspending (line 150) | private async void OnSuspending(object sender, SuspendingEventArgs e)
FILE: SQLiteDemo/SQLiteDemo/Common/NavigationHelper.cs
class NavigationHelper (line 59) | [Windows.Foundation.Metadata.WebHostHidden]
method NavigationHelper (line 71) | public NavigationHelper(Page page)
method CanGoBack (line 189) | public virtual bool CanGoBack()
method CanGoForward (line 201) | public virtual bool CanGoForward()
method GoBack (line 210) | public virtual void GoBack()
method GoForward (line 218) | public virtual void GoForward()
method ShellOrHardwareBackPressed (line 229) | private void ShellOrHardwareBackPressed(object sender, BackRequestedEv...
method HardwareButtons_BackPressed (line 245) | private void HardwareButtons_BackPressed(object sender, Windows.Phone....
method CoreDispatcher_AcceleratorKeyActivated (line 261) | private void CoreDispatcher_AcceleratorKeyActivated(CoreDispatcher sen...
method CoreWindow_PointerPressed (line 305) | private void CoreWindow_PointerPressed(CoreWindow sender,
method OnNavigatedTo (line 353) | public void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 395) | public void OnNavigatedFrom(NavigationEventArgs e)
class LoadStateEventArgs (line 421) | public class LoadStateEventArgs : EventArgs
method LoadStateEventArgs (line 445) | public LoadStateEventArgs(Object navigationParameter, Dictionary<strin...
class SaveStateEventArgs (line 455) | public class SaveStateEventArgs : EventArgs
method SaveStateEventArgs (line 466) | public SaveStateEventArgs(Dictionary<string, Object> pageState)
FILE: SQLiteDemo/SQLiteDemo/Common/ObservableDictionary.cs
class ObservableDictionary (line 12) | public class ObservableDictionary : IObservableMap<string, object>
class ObservableDictionaryChangedEventArgs (line 14) | private class ObservableDictionaryChangedEventArgs : IMapChangedEventA...
method ObservableDictionaryChangedEventArgs (line 16) | public ObservableDictionaryChangedEventArgs(CollectionChange change,...
method InvokeMapChanged (line 29) | private void InvokeMapChanged(CollectionChange change, string key)
method Add (line 38) | public void Add(string key, object value)
method Add (line 44) | public void Add(KeyValuePair<string, object> item)
method Remove (line 49) | public bool Remove(string key)
method Remove (line 59) | public bool Remove(KeyValuePair<string, object> item)
method Clear (line 84) | public void Clear()
method ContainsKey (line 99) | public bool ContainsKey(string key)
method TryGetValue (line 104) | public bool TryGetValue(string key, out object value)
method Contains (line 114) | public bool Contains(KeyValuePair<string, object> item)
method GetEnumerator (line 129) | public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
method GetEnumerator (line 134) | System.Collections.IEnumerator System.Collections.IEnumerable.GetEnume...
method CopyTo (line 139) | public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
FILE: SQLiteDemo/SQLiteDemo/Common/RelayCommand.cs
class RelayCommand (line 17) | public class RelayCommand : ICommand
method RelayCommand (line 31) | public RelayCommand(Action execute)
method RelayCommand (line 41) | public RelayCommand(Action execute, Func<bool> canExecute)
method CanExecute (line 56) | public bool CanExecute(object parameter)
method Execute (line 67) | public void Execute(object parameter)
method RaiseCanExecuteChanged (line 77) | public void RaiseCanExecuteChanged()
FILE: SQLiteDemo/SQLiteDemo/Common/SuspensionManager.cs
class SuspensionManager (line 23) | internal sealed class SuspensionManager
method SaveAsync (line 58) | public static async Task SaveAsync()
method RestoreAsync (line 103) | public static async Task RestoreAsync(String sessionBaseKey = null)
method RegisterFrame (line 157) | public static void RegisterFrame(Frame frame, String sessionStateKey, ...
method UnregisterFrame (line 191) | public static void UnregisterFrame(Frame frame)
method SessionStateForFrame (line 216) | public static Dictionary<String, Object> SessionStateForFrame(Frame fr...
method RestoreFrameNavigationState (line 242) | private static void RestoreFrameNavigationState(Frame frame)
method SaveFrameNavigationState (line 251) | private static void SaveFrameNavigationState(Frame frame)
class SuspensionManagerException (line 257) | public class SuspensionManagerException : Exception
method SuspensionManagerException (line 259) | public SuspensionManagerException()
method SuspensionManagerException (line 263) | public SuspensionManagerException(Exception e)
FILE: SQLiteDemo/SQLiteDemo/Converters/DateTimeToStringConverter.cs
class DateTimeToStringConverter (line 8) | class DateTimeToStringConverter : IValueConverter
method Convert (line 10) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 28) | public object ConvertBack(object value, Type targetType, object parame...
FILE: SQLiteDemo/SQLiteDemo/CreateDatabase.cs
class CreateDatabase (line 10) | public class CreateDatabase
method LoadDatabase (line 12) | public static void LoadDatabase(SQLiteConnection db)
method ResetDataAsync (line 46) | public async static Task ResetDataAsync(SQLiteConnection db)
method InsertCustomer (line 88) | private async static Task<long> InsertCustomer(ISQLiteConnection db, s...
method InsertProject (line 123) | private static Task InsertProject(ISQLiteConnection db, long customerI...
FILE: SQLiteDemo/SQLiteDemo/MainPage.xaml.cs
class MainPage (line 25) | public sealed partial class MainPage : Page
method MainPage (line 43) | public MainPage()
method navigationHelper_LoadState (line 62) | private void navigationHelper_LoadState(object sender, LoadStateEventA...
method navigationHelper_SaveState (line 74) | private void navigationHelper_SaveState(object sender, SaveStateEventA...
method OnNavigatedTo (line 89) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 101) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method LoadData (line 108) | private void LoadData()
method ResetDataAppBarButton_Click (line 114) | private async void ResetDataAppBarButton_Click(object sender, RoutedEv...
method CustomersList_SelectionChanged (line 126) | private void CustomersList_SelectionChanged(object sender, SelectionCh...
FILE: SQLiteDemo/SQLiteDemo/ProjectsPage.xaml.cs
class ProjectsPage (line 26) | public sealed partial class ProjectsPage : Page
method ProjectsPage (line 44) | public ProjectsPage()
method navigationHelper_LoadState (line 63) | private void navigationHelper_LoadState(object sender, LoadStateEventA...
method navigationHelper_SaveState (line 75) | private void navigationHelper_SaveState(object sender, SaveStateEventA...
method OnNavigatedTo (line 90) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 115) | protected override void OnNavigatedFrom(NavigationEventArgs e)
FILE: SQLiteDemo/SQLiteDemo/ViewModels/Customer.cs
class Customer (line 4) | public class Customer : ViewModelBase
method Customer (line 45) | internal Customer()
method Customer (line 49) | internal Customer(long id, string name, string city, string contact)
FILE: SQLiteDemo/SQLiteDemo/ViewModels/CustomersViewModel.cs
class CustomersViewModel (line 11) | public class CustomersViewModel : TableViewModelBase<Customer, long>
method CustomersViewModel (line 13) | private CustomersViewModel() { }
method GetDefault (line 16) | public static CustomersViewModel GetDefault()
method GetSelectAllSql (line 27) | protected override string GetSelectAllSql()
method FillSelectAllStatement (line 32) | protected override void FillSelectAllStatement(ISQLiteStatement statem...
method CreateItem (line 37) | protected override Customer CreateItem(ISQLiteStatement statement)
method GetSelectItemSql (line 49) | protected override string GetSelectItemSql()
method FillSelectItemStatement (line 54) | protected override void FillSelectItemStatement(ISQLiteStatement state...
method GetInsertItemSql (line 59) | protected override string GetInsertItemSql()
method FillInsertStatement (line 64) | protected override void FillInsertStatement(ISQLiteStatement statement...
method GetUpdateItemSql (line 72) | protected override string GetUpdateItemSql()
method FillUpdateStatement (line 77) | protected override void FillUpdateStatement(ISQLiteStatement statement...
method GetDeleteItemSql (line 86) | protected override string GetDeleteItemSql()
method FillDeleteItemStatement (line 91) | protected override void FillDeleteItemStatement(ISQLiteStatement state...
FILE: SQLiteDemo/SQLiteDemo/ViewModels/Project.cs
class Project (line 8) | public class Project : ViewModelBase
method Project (line 56) | internal Project(long customerId)
method Project (line 63) | internal Project(long id, long customerId, string name, string descrip...
FILE: SQLiteDemo/SQLiteDemo/ViewModels/ProjectsViewModel.cs
class ProjectsViewModel (line 10) | public class ProjectsViewModel : TableViewModelBase<Project, long>
method ProjectsViewModel (line 12) | private ProjectsViewModel(long customerId)
method ProjectsViewModel (line 17) | private ProjectsViewModel()
method GetForCustomerId (line 43) | public static ProjectsViewModel GetForCustomerId(long customerId)
method GetDefault (line 54) | public static ProjectsViewModel GetDefault()
method GetSelectAllSql (line 67) | protected override string GetSelectAllSql()
method FillSelectAllStatement (line 80) | protected override void FillSelectAllStatement(ISQLiteStatement statem...
method CreateItem (line 88) | protected override Project CreateItem(ISQLiteStatement statement)
method GetSelectItemSql (line 102) | protected override string GetSelectItemSql()
method FillSelectItemStatement (line 109) | protected override void FillSelectItemStatement(ISQLiteStatement state...
method GetInsertItemSql (line 114) | protected override string GetInsertItemSql()
method FillInsertStatement (line 119) | protected override void FillInsertStatement(ISQLiteStatement statement...
method GetUpdateItemSql (line 127) | protected override string GetUpdateItemSql()
method FillUpdateStatement (line 132) | protected override void FillUpdateStatement(ISQLiteStatement statement...
method GetDeleteItemSql (line 138) | protected override string GetDeleteItemSql()
method FillDeleteItemStatement (line 143) | protected override void FillDeleteItemStatement(ISQLiteStatement state...
FILE: SQLiteDemo/SQLiteDemo/ViewModels/TableViewModelBase.cs
class TableViewModelBase (line 12) | public abstract class TableViewModelBase<TItemType, TKeyType>
method GetSelectAllSql (line 14) | protected abstract string GetSelectAllSql();
method FillSelectAllStatement (line 15) | protected abstract void FillSelectAllStatement(ISQLiteStatement statem...
method CreateItem (line 17) | protected abstract TItemType CreateItem(ISQLiteStatement statement);
method GetSelectItemSql (line 19) | protected abstract string GetSelectItemSql();
method FillSelectItemStatement (line 20) | protected abstract void FillSelectItemStatement(ISQLiteStatement state...
method GetDeleteItemSql (line 22) | protected abstract string GetDeleteItemSql();
method FillDeleteItemStatement (line 23) | protected abstract void FillDeleteItemStatement(ISQLiteStatement state...
method GetInsertItemSql (line 25) | protected abstract string GetInsertItemSql();
method FillInsertStatement (line 26) | protected abstract void FillInsertStatement(ISQLiteStatement statement...
method GetUpdateItemSql (line 28) | protected abstract string GetUpdateItemSql();
method FillUpdateStatement (line 29) | protected abstract void FillUpdateStatement(ISQLiteStatement statement...
method GetAllItems (line 50) | public ObservableCollection<TItemType> GetAllItems()
method GetItem (line 67) | public TItemType GetItem(TKeyType key)
method InsertItem (line 84) | public void InsertItem(TItemType item)
method UpdateItem (line 94) | public void UpdateItem(TKeyType key, TItemType item)
method DeleteItem (line 104) | public void DeleteItem(TKeyType key)
FILE: SQLiteDemo/SQLiteDemo/ViewModels/ViewModelBase.cs
class ViewModelBase (line 6) | public class ViewModelBase : INotifyPropertyChanged
method RaisePropertyChanged (line 10) | protected virtual void RaisePropertyChanged([CallerMemberName] string ...
method SetProperty (line 19) | protected bool SetProperty<T>(ref T current, T value, [CallerMemberNam...
FILE: ShareContractExample/ContosoCookbook/AboutPage.xaml.cs
class AboutPage (line 23) | public sealed partial class AboutPage : Page
method AboutPage (line 45) | public AboutPage()
method navigationHelper_LoadState (line 64) | private void navigationHelper_LoadState(object sender, LoadStateEventA...
method OnNavigatedTo (line 84) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 89) | protected override void OnNavigatedFrom(NavigationEventArgs e)
FILE: ShareContractExample/ContosoCookbook/App.xaml.cs
class App (line 26) | sealed partial class App : Application
method App (line 32) | public App()
method OnLaunched (line 43) | protected override void OnLaunched(LaunchActivatedEventArgs e)
method OnSuspending (line 86) | private void OnSuspending(object sender, SuspendingEventArgs e)
method App_BackRequested (line 93) | private void App_BackRequested(object sender, Windows.UI.Core.BackRequ...
FILE: ShareContractExample/ContosoCookbook/Common/NavigationHelper.cs
class NavigationHelper (line 59) | [Windows.Foundation.Metadata.WebHostHidden]
method NavigationHelper (line 71) | public NavigationHelper(Page page)
method CanGoBack (line 161) | public virtual bool CanGoBack()
method CanGoForward (line 173) | public virtual bool CanGoForward()
method GoBack (line 182) | public virtual void GoBack()
method GoForward (line 190) | public virtual void GoForward()
method CoreDispatcher_AcceleratorKeyActivated (line 202) | private void CoreDispatcher_AcceleratorKeyActivated(CoreDispatcher sen...
method CoreWindow_PointerPressed (line 246) | private void CoreWindow_PointerPressed(CoreWindow sender,
method OnNavigatedTo (line 293) | public void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 335) | public void OnNavigatedFrom(NavigationEventArgs e)
class LoadStateEventArgs (line 361) | public class LoadStateEventArgs : EventArgs
method LoadStateEventArgs (line 385) | public LoadStateEventArgs(Object navigationParameter, Dictionary<strin...
class SaveStateEventArgs (line 395) | public class SaveStateEventArgs : EventArgs
method SaveStateEventArgs (line 406) | public SaveStateEventArgs(Dictionary<string, Object> pageState)
FILE: ShareContractExample/ContosoCookbook/Common/ObservableDictionary.cs
class ObservableDictionary (line 12) | public class ObservableDictionary : IObservableMap<string, object>
class ObservableDictionaryChangedEventArgs (line 14) | private class ObservableDictionaryChangedEventArgs : IMapChangedEventA...
method ObservableDictionaryChangedEventArgs (line 16) | public ObservableDictionaryChangedEventArgs(CollectionChange change,...
method InvokeMapChanged (line 29) | private void InvokeMapChanged(CollectionChange change, string key)
method Add (line 38) | public void Add(string key, object value)
method Add (line 44) | public void Add(KeyValuePair<string, object> item)
method Remove (line 49) | public bool Remove(string key)
method Remove (line 59) | public bool Remove(KeyValuePair<string, object> item)
method Clear (line 84) | public void Clear()
method ContainsKey (line 99) | public bool ContainsKey(string key)
method TryGetValue (line 104) | public bool TryGetValue(string key, out object value)
method Contains (line 114) | public bool Contains(KeyValuePair<string, object> item)
method GetEnumerator (line 129) | public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
method GetEnumerator (line 134) | System.Collections.IEnumerator System.Collections.IEnumerable.GetEnume...
method CopyTo (line 139) | public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
FILE: ShareContractExample/ContosoCookbook/Common/RelayCommand.cs
class RelayCommand (line 17) | public class RelayCommand : ICommand
method RelayCommand (line 31) | public RelayCommand(Action execute)
method RelayCommand (line 41) | public RelayCommand(Action execute, Func<bool> canExecute)
method CanExecute (line 56) | public bool CanExecute(object parameter)
method Execute (line 67) | public void Execute(object parameter)
method RaiseCanExecuteChanged (line 77) | public void RaiseCanExecuteChanged()
FILE: ShareContractExample/ContosoCookbook/Common/SuspensionManager.cs
class SuspensionManager (line 23) | internal sealed class SuspensionManager
method SaveAsync (line 58) | public static async Task SaveAsync()
method RestoreAsync (line 101) | public static async Task RestoreAsync()
method RegisterFrame (line 151) | public static void RegisterFrame(Frame frame, String sessionStateKey)
method UnregisterFrame (line 179) | public static void UnregisterFrame(Frame frame)
method SessionStateForFrame (line 204) | public static Dictionary<String, Object> SessionStateForFrame(Frame fr...
method RestoreFrameNavigationState (line 230) | private static void RestoreFrameNavigationState(Frame frame)
method SaveFrameNavigationState (line 239) | private static void SaveFrameNavigationState(Frame frame)
class SuspensionManagerException (line 245) | public class SuspensionManagerException : Exception
method SuspensionManagerException (line 247) | public SuspensionManagerException()
method SuspensionManagerException (line 251) | public SuspensionManagerException(Exception e)
FILE: ShareContractExample/ContosoCookbook/Converters/ImageSourceToStringConverter.cs
class ImageSourceToStringConverter (line 10) | public class ImageSourceToStringConverter : IValueConverter
method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame...
FILE: ShareContractExample/ContosoCookbook/Converters/UserImagesDisplayConverter.cs
class UserImagesDisplayConverter (line 12) | public class UserImagesDisplayConverter : IValueConverter
method Convert (line 14) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 29) | public object ConvertBack(object value, Type targetType, object parame...
FILE: ShareContractExample/ContosoCookbook/DataModel/BindableBase.cs
class BindableBase (line 27) | [Windows.Foundation.Metadata.WebHostHidden]
method SetProperty (line 47) | protected bool SetProperty<T>(ref T storage, T value, [CallerMemberNam...
method OnPropertyChanged (line 62) | protected void OnPropertyChanged([CallerMemberName] string propertyNam...
FILE: ShareContractExample/ContosoCookbook/DataModel/RecipeDataSource.cs
class RecipeDataCommon (line 42) | [Windows.Foundation.Metadata.WebHostHidden]
method RecipeDataCommon (line 47) | public RecipeDataCommon(String uniqueId, String title, String shortTit...
method SetImage (line 105) | public void SetImage(String path)
method GetImageUri (line 112) | public string GetImageUri()
class UserPhotoDataItem (line 121) | public class UserPhotoDataItem : RecipeDataCommon
method UserPhotoDataItem (line 125) | public UserPhotoDataItem()
class RecipeDataItem (line 134) | public class RecipeDataItem : RecipeDataCommon
method RecipeDataItem (line 136) | public RecipeDataItem()
method RecipeDataItem (line 143) | public RecipeDataItem(String uniqueId, String title, String shortTitle...
method SetTileImage (line 214) | public void SetTileImage(String path)
class RecipeDataGroup (line 225) | public class RecipeDataGroup : RecipeDataCommon
method RecipeDataGroup (line 227) | public RecipeDataGroup()
method RecipeDataGroup (line 232) | public RecipeDataGroup(String uniqueId, String title, String shortTitl...
method SetGroupImage (line 290) | public void SetGroupImage(String path)
class RecipeDataSource (line 301) | public sealed class RecipeDataSource
method GetGroupsAsync (line 313) | public static async Task<IEnumerable<RecipeDataGroup>> GetGroupsAsync(...
method GetGroupAsync (line 321) | public static async Task<RecipeDataGroup> GetGroupAsync(string uniqueId)
method GetItemAsync (line 330) | public static async Task<RecipeDataItem> GetItemAsync(string uniqueId)
method EnsureRecipeDataLoaded (line 339) | private static async Task EnsureRecipeDataLoaded()
method LoadLocalDataAsync (line 347) | public async Task LoadLocalDataAsync()
method CreateRecipesAndRecipeGroups (line 360) | private static void CreateRecipesAndRecipeGroups(JsonArray array)
method CreateRecipeGroup (line 424) | private static RecipeDataGroup CreateRecipeGroup(JsonObject obj)
FILE: ShareContractExample/ContosoCookbook/DataModel/SampleDataSource.cs
class SampleDataCommon (line 43) | [Windows.Foundation.Metadata.WebHostHidden]
method SampleDataCommon (line 48) | public SampleDataCommon(String uniqueId, String title, String subtitle...
method SetImage (line 105) | public void SetImage(String path)
class SampleDataItem (line 116) | public class SampleDataItem : SampleDataCommon
method SampleDataItem (line 118) | public SampleDataItem(String uniqueId, String title, String subtitle, ...
class SampleDataGroup (line 167) | public class SampleDataGroup : SampleDataCommon
method SampleDataGroup (line 169) | public SampleDataGroup(String uniqueId, String title, String subtitle,...
class SampleDataSource (line 196) | public sealed class SampleDataSource
method GetGroups (line 206) | public static IEnumerable<SampleDataGroup> GetGroups(string uniqueId)
method GetGroup (line 213) | public static SampleDataGroup GetGroup(string uniqueId)
method GetItem (line 221) | public static SampleDataItem GetItem(string uniqueId)
method SampleDataSource (line 229) | public SampleDataSource()
FILE: ShareContractExample/ContosoCookbook/GroupDetailPage.xaml.cs
class GroupDetailPage (line 26) | public sealed partial class GroupDetailPage : Page
method GroupDetailPage (line 48) | public GroupDetailPage()
method navigationHelper_LoadState (line 69) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnNavigatedTo (line 89) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 94) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method lstRecipes_SelectionChanged (line 101) | private void lstRecipes_SelectionChanged(object sender, SelectionChang...
FILE: ShareContractExample/ContosoCookbook/MainPage.xaml.cs
class MainPage (line 24) | public sealed partial class MainPage : Page
method MainPage (line 46) | public MainPage()
method navigationHelper_LoadState (line 65) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnNavigatedTo (line 85) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 90) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method About_Click (line 97) | private void About_Click(object sender, RoutedEventArgs e)
method lstGroups_SelectionChanged (line 102) | private void lstGroups_SelectionChanged(object sender, SelectionChange...
FILE: ShareContractExample/ContosoCookbook/RecipeDetailPage.xaml.cs
class RecipeDetailPage (line 25) | public sealed partial class RecipeDetailPage : Page
method RecipeDetailPage (line 48) | public RecipeDetailPage()
method navigationHelper_LoadState (line 69) | private async void navigationHelper_LoadState(object sender, LoadState...
method OnShareDataRequested (line 82) | private async void OnShareDataRequested(DataTransferManager sender, Da...
method OnNavigatedTo (line 126) | protected override void OnNavigatedTo(NavigationEventArgs e)
method OnNavigatedFrom (line 131) | protected override void OnNavigatedFrom(NavigationEventArgs e)
method btnPinToStart_Click (line 138) | private async void btnPinToStart_Click(object sender, RoutedEventArgs e)
method btnReminderTimer_Click (line 164) | private async void btnReminderTimer_Click(object sender, RoutedEventAr...
method btnPhoto_Click (line 187) | private async void btnPhoto_Click(object sender, RoutedEventArgs e)
method PickPhotoAsync (line 192) | private async Task PickPhotoAsync()
method btnShare_Click (line 212) | private void btnShare_Click(object sender, RoutedEventArgs e)
FILE: SimplePushDemo/SimplePushDemo/App.xaml.cs
class App (line 9) | sealed partial class App : Common.BootStrapper
method App (line 11) | public App() : base()
method OnLaunchedAsync (line 16) | public override async Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
FILE: SimplePushDemo/SimplePushDemo/Common/BootStrapper.cs
class BootStrapper (line 16) | public abstract class BootStrapper : Application
method BootStrapper (line 26) | public BootStrapper()
method OnActivated (line 51) | protected override async void OnActivated(IActivatedEventArgs e) { awa...
method OnCachedFileUpdaterActivated (line 52) | protected override async void OnCachedFileUpdaterActivated(CachedFileU...
method OnFileActivated (line 53) | protected override async void OnFileActivated(FileActivatedEventArgs a...
method OnFileOpenPickerActivated (line 54) | protected override async void OnFileOpenPickerActivated(FileOpenPicker...
method OnFileSavePickerActivated (line 55) | protected override async void OnFileSavePickerActivated(FileSavePicker...
method OnSearchActivated (line 56) | protected override async void OnSearchActivated(SearchActivatedEventAr...
method OnShareTargetActivated (line 57) | protected override async void OnShareTargetActivated(ShareTargetActiva...
method InternalActivatedAsync (line 59) | private async Task InternalActivatedAsync(IActivatedEventArgs e)
method OnLaunched (line 67) | protected override void OnLaunched(LaunchActivatedEventArgs e) { Inter...
method InternalLaunchAsync (line 69) | private async void InternalLaunchAsync(ILaunchActivatedEventArgs e)
method OnBackRequested (line 118) | private void OnBackRequested(object sender, Windows.UI.Core.BackReques...
method OnInitializeAsync (line 137) | public virtual Task OnInitializeAsync() { return Task.FromResult<objec...
method OnActivatedAsync (line 138) | public virtual Task OnActivatedAsync(IActivatedEventArgs e) { return T...
method OnLaunchedAsync (line 139) | public abstract Task OnLaunchedAsync(ILaunchActivatedEventArgs e);
method OnResuming (line 140) | protected virtual void OnResuming(object s, object e) { }
method OnSuspendingAsync (line 141) | protected virtual Task OnSuspendingAsync(object s, SuspendingEventArgs...
FILE: SimplePushDemo/SimplePushDemo/Helpers/PushHandlingHelper.cs
class PushHandlingHelper (line 9) | public static class PushHandlingHelper
method RegisterForPushAsync (line 11) | public static async Task<string> RegisterForPushAsync()
method channel_PushNotificationReceived (line 18) | static void channel_PushNotificationReceived(PushNotificationChannel s...
FILE: SimplePushDemo/SimplePushDemo/Services/NavigationService/INavigatable.cs
type INavigatable (line 6) | public interface INavigatable
method OnNavigatedTo (line 8) | void OnNavigatedTo(string parameter, NavigationMode mode, Dictionary<s...
method OnNavigatedFrom (line 9) | void OnNavigatedFrom(Dictionary<string, object> state, bool suspending);
method OnNavigatingFrom (line 10) | void OnNavigatingFrom(NavigatingCancelEventArgs args);
FILE: SimplePushDemo/SimplePushDemo/Services/NavigationService/NavigationEventArgs.cs
class NavigationEventArgs (line 10) | public class NavigationEventArgs : EventArgs
FILE: SimplePushDemo/SimplePushDemo/Services/NavigationService/NavigationFacade.cs
class NavigationFacade (line 13) | public class NavigationFacade
method NavigationFacade (line 15) | public NavigationFacade(Frame frame)
method Navigate (line 33) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 35) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 37) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 43) | public void GoBack() { _frame.GoBack(); }
method Refresh (line 45) | public void Refresh()
method GoForward (line 55) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 63) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 65) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 67) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 95) | void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Naviga...
method FacadeNavigatingCancelEventHandler (line 133) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
FILE: SimplePushDemo/SimplePushDemo/Services/NavigationService/NavigationService.cs
class NavigationService (line 8) | public class NavigationService
method NavigationService (line 16) | public NavigationService(Frame frame)
method NavigateFrom (line 23) | void NavigateFrom(bool suspending)
method NavigateTo (line 36) | void NavigateTo(NavigationMode mode, string parameter)
method Navigate (line 57) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 67) | public void RestoreSavedNavigation() { /* TODO */ }
method GoBack (line 69) | public void GoBack() { if (_frame.CanGoBack) _frame.GoBack(); }
method GoForward (line 73) | public void GoForward() { _frame.GoForward(); }
method ClearHistory (line 77) | public void ClearHistory() { _frame.SetNavigationState(EmptyNavigation...
method Suspending (line 79) | public void Suspending() { NavigateFrom(true); }
method Show (line 81) | public void Show(SettingsFlyout flyout, string parameter = null)
FILE: SimplePushDemo/SimplePushDemo/Views/MainPage.xaml.cs
class MainPage (line 23) | public sealed partial class MainPage : Page
method MainPage (line 25) | public MainPage()
FILE: SplashScreen/SplashScreen/SplashScreen-Blank/App.xaml.cs
class App (line 26) | sealed partial class App : Application
method App (line 37) | public App()
method OnLaunched (line 48) | protected override async void OnLaunched(LaunchActivatedEventArgs e)
method OnNavigationFailed (line 98) | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
method OnSuspending (line 110) | private void OnSuspending(object sender, SuspendingEventArgs e)
FILE: SplashScreen/SplashScreen/SplashScreen-Blank/Views/MainPage.xaml.cs
class MainPage (line 23) | public sealed partial class MainPage : Page
method MainPage (line 25) | public MainPage()
FILE: SplashScreen/SplashScreen/SplashScreen-Blank/Views/Splash.xaml.cs
class Splash (line 10) | public sealed partial class Splash : Page
method Splash (line 12) | public Splash(Windows.ApplicationModel.Activation.SplashScreen splashS...
FILE: SplashScreen/SplashScreen/SplashScreen-Template10/App.xaml.cs
class App (line 7) | sealed partial class App : Common.BootStrapper
method App (line 9) | public App() : base()
method OnLaunchedAsync (line 15) | public override async Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
FILE: SplashScreen/SplashScreen/SplashScreen-Template10/Common/BootStrapper.cs
class BootStrapper (line 16) | public abstract class BootStrapper : Application
method BootStrapper (line 18) | public BootStrapper()
method OnActivated (line 43) | protected override async void OnActivated(IActivatedEventArgs e) { awa...
method OnCachedFileUpdaterActivated (line 44) | protected override async void OnCachedFileUpdaterActivated(CachedFileU...
method OnFileActivated (line 45) | protected override async void OnFileActivated(FileActivatedEventArgs a...
method OnFileOpenPickerActivated (line 46) | protected override async void OnFileOpenPickerActivated(FileOpenPicker...
method OnFileSavePickerActivated (line 47) | protected override async void OnFileSavePickerActivated(FileSavePicker...
method OnSearchActivated (line 48) | protected override async void OnSearchActivated(SearchActivatedEventAr...
method OnShareTargetActivated (line 49) | protected override async void OnShareTargetActivated(ShareTargetActiva...
method InternalActivatedAsync (line 51) | private async Task InternalActivatedAsync(IActivatedEventArgs e)
method OnLaunched (line 59) | protected override void OnLaunched(LaunchActivatedEventArgs e) { Inter...
method InternalLaunchAsync (line 61) | private async void InternalLaunchAsync(ILaunchActivatedEventArgs e)
method OnInitializeAsync (line 101) | public virtual Task OnInitializeAsync() { return Task.FromResult<objec...
method OnActivatedAsync (line 102) | public virtual Task OnActivatedAsync(IActivatedEventArgs e) { return T...
method OnLaunchedAsync (line 103) | public abstract Task OnLaunchedAsync(ILaunchActivatedEventArgs e);
method OnResuming (line 104) | protected virtual void OnResuming(object s, object e) { }
method OnSuspendingAsync (line 105) | protected virtual Task OnSuspendingAsync(object s, SuspendingEventArgs...
FILE: SplashScreen/SplashScreen/SplashScreen-Template10/Services/NavigationService/NavigationEventArgs.cs
class NavigationEventArgs (line 10) | public class NavigationEventArgs : EventArgs
FILE: SplashScreen/SplashScreen/SplashScreen-Template10/Services/NavigationService/NavigationFacade.cs
class NavigationFacade (line 13) | public class NavigationFacade
method NavigationFacade (line 15) | public NavigationFacade(Frame frame)
method Navigate (line 33) | public bool Navigate(Type page, string parameter) { return _frame.Navi...
method SetNavigationState (line 35) | public void SetNavigationState(string state) { _frame.SetNavigationSta...
method GetNavigationState (line 37) | public string GetNavigationState() { return _frame.GetNavigationState(...
method GoBack (line 43) | public void GoBack() { _frame.GoBack(); }
method Refresh (line 45) | public void Refresh()
method GoForward (line 55) | public void GoForward() { _frame.GoForward(); }
method GetValue (line 63) | public object GetValue(DependencyProperty dp) { return _frame.GetValue...
method SetValue (line 65) | public void SetValue(DependencyProperty dp, object value) { _frame.Set...
method ClearValue (line 67) | public void ClearValue(DependencyProperty dp) { _frame.ClearValue(dp); }
method FacadeNavigatedEventHandler (line 95) | void FacadeNavigatedEventHandler(object sender, Windows.UI.Xaml.Naviga...
method FacadeNavigatingCancelEventHandler (line 133) | private void FacadeNavigatingCancelEventHandler(object sender, Navigat...
FILE: SplashScreen/SplashScreen/SplashScreen-Template10/Services/NavigationService/NavigationService.cs
class NavigationService (line 14) | public class NavigationService
method NavigationService (line 25) | public NavigationService(Frame frame)
method NavigateFrom (line 32) | void NavigateFrom(bool suspending)
method NavigateTo (line 55) | void NavigateTo(NavigationMode mode, string parameter)
method Navigate (line 87) | public bool Navigate(Type page, string parameter = null)
method RestoreSavedNavigation (line 97) | public void RestoreSavedNavigation() { /* TODO */ }
method GoBack (line 99) | public void GoBack() { if (_frame.CanGoBack) _frame.GoBack(); }
method GoForward (line 103) | public void GoForward() { _frame.GoForward(); }
method ClearHistory (line 107) | public void ClearHistory() { _frame.SetNavigationState(EmptyNavigation...
method Suspending (line 109) | public void Suspending() { NavigateFrom(true); }
method Show (line 111) | public void Show(SettingsFlyout flyout, string parameter = null)
FILE: SplashScreen/SplashScreen/SplashScreen-Template10/Views/MainPage.xaml.cs
class MainPage (line 23) | public sealed partial class MainPage : Page
method MainPage (line 25) | public MainPage()
method Alert (line 30) | async void Alert(string messageId)
FILE: SplashScreen/SplashScreen/SplashScreen-Template10/Views/Splash.xaml.cs
class Splash (line 10) | public sealed partial class Splash : Page
method Splash (line 12) | public Splash(Windows.ApplicationModel.Activ
Condensed preview — 939 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,601K chars).
[
{
"path": ".gitattributes",
"chars": 2518,
"preview": "###############################################################################\n# Set default behavior to automatically "
},
{
"path": ".gitignore",
"chars": 5580,
"preview": "## Ignore Visual Studio temporary files, build results, and\n## files generated by popular Visual Studio add-ons.\n\n# User"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/ActionCenterDemo.csproj",
"chars": 8233,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/App.xaml",
"chars": 675,
"preview": "<common:ApplicationBase \n x:Class=\"ActionCenterDemo.App\" \n xmlns:common=\"using:ActionCenterDemo.Common\"\n xmlns="
},
{
"path": "ActionCenterDemo/ActionCenterDemo/App.xaml.cs",
"chars": 512,
"preview": "using System.Threading.Tasks;\nusing Windows.ApplicationModel.Activation;\n\nnamespace ActionCenterDemo\n{\n sealed parti"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Common/ApplicationBase.cs",
"chars": 5365,
"preview": "using System;\nusing System.Linq;\nusing Windows.UI.Xaml;\nusing System.Threading.Tasks;\nusing Windows.ApplicationModel;\nu"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Common/MVVM.cs",
"chars": 1911,
"preview": "using System;\nusing System.Collections.Generic;\nusing Windows.UI.Xaml.Navigation;\n\nnamespace ActionCenterDemo.Common\n{\n"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Converters/BoolToColorConverter.cs",
"chars": 711,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Converters/CountToVisibilityConverter.cs",
"chars": 651,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Models/MessageItem.cs",
"chars": 345,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nna"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Models/ToastParams.cs",
"chars": 310,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nna"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Package.appxmanifest",
"chars": 2344,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Properties/AssemblyInfo.cs",
"chars": 1049,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Repositories/MessageItemRepository.cs",
"chars": 2845,
"preview": "using ActionCenterDemo.Models;\nusing Newtonsoft.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\n"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Services/DispatcherService.cs",
"chars": 711,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nna"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Services/NavigationService.cs",
"chars": 6373,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Text;\nusing Sy"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Services/TileServices.cs",
"chars": 799,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/ViewModels/DetailPageViewModel.cs",
"chars": 2713,
"preview": "using System;\nusing ActionCenterDemo.Common;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nus"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/ViewModels/MainPageViewModel.cs",
"chars": 11317,
"preview": "using ActionCenterDemo.Models;\nusing ActionCenterDemo.Services;\nusing System;\nusing System.Collections.Generic;\nusing S"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Views/DetailPage.xaml",
"chars": 1132,
"preview": "<Page\n x:Class=\"ActionCenterDemo.Views.DetailPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentat"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Views/DetailPage.xaml.cs",
"chars": 197,
"preview": "using Windows.UI.Xaml.Controls;\n\nnamespace ActionCenterDemo.Views\n{\n public sealed partial class DetailPage : Page\n {"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Views/MainPage.xaml",
"chars": 4718,
"preview": "<Page\n x:Class=\"ActionCenterDemo.Views.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentatio"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/Views/MainPage.xaml.cs",
"chars": 849,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "ActionCenterDemo/ActionCenterDemo/packages.config",
"chars": 365,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"CommonServiceLocator\" version=\"1.3\" targetFramework=\"w"
},
{
"path": "ActionCenterDemo/ActionCenterDemo.sln",
"chars": 3181,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "ActionCenterDemo/ActionCenterHistoryChangedTask/ActionCenterChangedBackgroundTask.cs",
"chars": 2385,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "ActionCenterDemo/ActionCenterHistoryChangedTask/ActionCenterHistoryChangedTask.csproj",
"chars": 5716,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "ActionCenterDemo/ActionCenterHistoryChangedTask/MessageItem.cs",
"chars": 331,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nna"
},
{
"path": "ActionCenterDemo/ActionCenterHistoryChangedTask/Properties/AssemblyInfo.cs",
"chars": 1077,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "ActionCenterDemo/ActionCenterHistoryChangedTask/ToastParams.cs",
"chars": 324,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nna"
},
{
"path": "ActionCenterDemo/ActionCenterHistoryChangedTask/packages.config",
"chars": 137,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"Newtonsoft.Json\" version=\"6.0.8\" targetFramework=\"win8"
},
{
"path": "Adaptive UI/Blank10/Views/MainPage.xaml",
"chars": 6191,
"preview": "<Page\n x:Class=\"Blank10.Views.MainPage\"\n xmlns:local=\"using:Blank10.Views\"\n xmlns=\"http://schemas.microsoft.co"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/App.xaml",
"chars": 237,
"preview": "<Application\n x:Class=\"VisibleBoundsDemo.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/App.xaml.cs",
"chars": 5122,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/MainPage.xaml",
"chars": 5822,
"preview": "<Page\n x:Class=\"VisibleBoundsDemo.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n "
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/MainPage.xaml.cs",
"chars": 6160,
"preview": "using System;\nusing Windows.UI;\nusing Windows.UI.Xaml;\nusing Windows.UI.Xaml.Controls;\nusing Windows.UI.Xaml.Navigation"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/Package.appxmanifest",
"chars": 1775,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows10"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/Properties/AssemblyInfo.cs",
"chars": 1051,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/Triggers/DeviceFamilyTrigger.cs",
"chars": 769,
"preview": "using Windows.UI.Xaml;\n\nnamespace VisibleBoundsDemo.Triggers\n{\n public class DeviceFamilyTrigger : StateTriggerBase\n"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo/VisibleBoundsDemo.csproj",
"chars": 6260,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AdaptiveCode/VisibleBoundsDemo/VisibleBoundsDemo.sln",
"chars": 1590,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "AdaptiveUI/AdaptiveUI/AdaptiveUI-Blank.csproj",
"chars": 8894,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AdaptiveUI/AdaptiveUI/AdaptiveUI.sln",
"chars": 2614,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22609.0\nMini"
},
{
"path": "AdaptiveUI/AdaptiveUI/App.xaml",
"chars": 224,
"preview": "<Application\n x:Class=\"AdaptiveUI.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xml"
},
{
"path": "AdaptiveUI/AdaptiveUI/App.xaml.cs",
"chars": 3920,
"preview": "using System;\nusing Windows.ApplicationModel;\nusing Windows.ApplicationModel.Activation;\nusing Windows.UI.Xaml;\nusing W"
},
{
"path": "AdaptiveUI/AdaptiveUI/Controls/AutoNavButton.cs",
"chars": 9739,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Runtime.Inter"
},
{
"path": "AdaptiveUI/AdaptiveUI/Extensions/WeakEvent.cs",
"chars": 15468,
"preview": "// #define WEAK_LOGGING\nusing System;\nusing System.Collections.ObjectModel;\nusing System.ComponentModel;\nusing System.D"
},
{
"path": "AdaptiveUI/AdaptiveUI/Model/SampleInfo.cs",
"chars": 719,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AdaptiveUI/AdaptiveUI/Package.appxmanifest",
"chars": 1472,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "AdaptiveUI/AdaptiveUI/Properties/AssemblyInfo.cs",
"chars": 1037,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AdaptiveUI/AdaptiveUI/Properties/Default.rd.xml",
"chars": 1475,
"preview": "<!--\n This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most\n develope"
},
{
"path": "AdaptiveUI/AdaptiveUI/Themes/Generic.xaml",
"chars": 3052,
"preview": "<ResourceDictionary\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmlns:x=\"http://schemas.mi"
},
{
"path": "AdaptiveUI/AdaptiveUI/Triggers/ApiInformationTrigger.cs",
"chars": 7206,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AdaptiveUI/AdaptiveUI/Triggers/ControlSizeTrigger.cs",
"chars": 2470,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AdaptiveUI/AdaptiveUI/Triggers/DeviceFamilyTrigger.cs",
"chars": 775,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AdaptiveUI/AdaptiveUI/Triggers/InputTypeTrigger.cs",
"chars": 1529,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AdaptiveUI/AdaptiveUI/Triggers/InteractionModeTrigger.cs",
"chars": 667,
"preview": "using Windows.UI.ViewManagement;\nusing Windows.UI.Xaml;\n\nnamespace AdaptiveUI.Triggers\n{\n class InteractionModeTrigg"
},
{
"path": "AdaptiveUI/AdaptiveUI/Triggers/NetworkAvailableStateTrigger.cs",
"chars": 2033,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AdaptiveUI/AdaptiveUI/Triggers/OrientationTrigger.cs",
"chars": 2702,
"preview": "using AdaptiveUI.Extensions;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusin"
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/ApiInformationPage.xaml",
"chars": 4521,
"preview": "<Page\n x:Class=\"AdaptiveUI.Views.ApiInformationPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/present"
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/ApiInformationPage.xaml.cs",
"chars": 833,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/MainPage.xaml",
"chars": 10558,
"preview": "<Page\n x:Class=\"AdaptiveUI.Views.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n "
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/MainPage.xaml.cs",
"chars": 1276,
"preview": "using AdaptiveUI.Model;\nusing System;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\nusing Sys"
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/OrientationPage.xaml",
"chars": 4128,
"preview": "<Page\n x:Class=\"AdaptiveUI.Views.OrientationPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentati"
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/OrientationPage.xaml.cs",
"chars": 827,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/WindowSizePage.xaml",
"chars": 4692,
"preview": "<Page\n x:Class=\"AdaptiveUI.Views.WindowSizePage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentatio"
},
{
"path": "AdaptiveUI/AdaptiveUI/Views/WindowSizePage.xaml.cs",
"chars": 825,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AdaptiveUI/AdaptiveUI/packages.config",
"chars": 62,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n</packages>"
},
{
"path": "AdaptiveUI/AdaptiveUI.sln",
"chars": 2077,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "AppService/AppService_EncoderDecoder/AppService_EncoderDecoder.sln",
"chars": 5321,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/App.xaml",
"chars": 249,
"preview": "<Application\n x:Class=\"ClientApp.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmln"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/App.xaml.cs",
"chars": 4427,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/ApplicationInsights.config",
"chars": 1690,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<ApplicationInsights xmlns=\"http://schemas.microsoft.com/ApplicationInsights/201"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/ClientApp.csproj",
"chars": 9913,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/MainPage.xaml",
"chars": 1389,
"preview": "<Page\n x:Class=\"ClientApp.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmlns:"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/MainPage.xaml.cs",
"chars": 3042,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Linq;\nusing Sys"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/Package.appxmanifest",
"chars": 1470,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/Properties/AssemblyInfo.cs",
"chars": 1035,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/Properties/Default.rd.xml",
"chars": 1241,
"preview": "<!--\n This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most\n develope"
},
{
"path": "AppService/AppService_EncoderDecoder/ClientApp/packages.config",
"chars": 698,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"Microsoft.ApplicationInsights\" version=\"0.14.3-build00"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/App.xaml",
"chars": 249,
"preview": "<Application\n x:Class=\"ServerApp.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmln"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/App.xaml.cs",
"chars": 4427,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/ApplicationInsights.config",
"chars": 1690,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<ApplicationInsights xmlns=\"http://schemas.microsoft.com/ApplicationInsights/201"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/MainPage.xaml",
"chars": 463,
"preview": "<Page\n x:Class=\"ServerApp.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmlns:"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/MainPage.xaml.cs",
"chars": 1165,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Linq;\nusing Sys"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/Package.appxmanifest",
"chars": 1699,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/Properties/AssemblyInfo.cs",
"chars": 1035,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/Properties/Default.rd.xml",
"chars": 1241,
"preview": "<!--\n This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most\n develope"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/ServerApp.csproj",
"chars": 10155,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppService/AppService_EncoderDecoder/ServerApp/packages.config",
"chars": 698,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"Microsoft.ApplicationInsights\" version=\"0.14.3-build00"
},
{
"path": "AppService/AppService_EncoderDecoder/TextEncoderComponent/EncoderDecoderTask.cs",
"chars": 3295,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Text;\nusing S"
},
{
"path": "AppService/AppService_EncoderDecoder/TextEncoderComponent/Properties/AssemblyInfo.cs",
"chars": 1057,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppService/AppService_EncoderDecoder/TextEncoderComponent/TextEncoderComponent.csproj",
"chars": 6687,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppService/AppService_EncoderDecoder/TextEncoderComponent/packages.config",
"chars": 166,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"System.Numerics.Vectors\" version=\"4.0.0\" targetFramewo"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/App.xaml",
"chars": 244,
"preview": "<Application\n x:Class=\"AppServicesClientApp.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentatio"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/App.xaml.cs",
"chars": 4238,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/AppServicesClientApp.csproj",
"chars": 6990,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/MainPage.xaml",
"chars": 1780,
"preview": "<Page\n x:Class=\"AppServicesClientApp.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\""
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/MainPage.xaml.cs",
"chars": 3241,
"preview": "using System;\nusing Windows.ApplicationModel.AppService;\nusing Windows.Foundation.Collections;\nusing Windows.UI.Popups;"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/Package.appxmanifest",
"chars": 1508,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesClientApp/Properties/AssemblyInfo.cs",
"chars": 1057,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/App.xaml",
"chars": 234,
"preview": "<Application\n x:Class=\"AppServicesDemo.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n "
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/App.xaml.cs",
"chars": 4233,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/AppServicesDemo.csproj",
"chars": 7370,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/MainPage.xaml",
"chars": 471,
"preview": "<Page\n x:Class=\"AppServicesDemo.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n "
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/MainPage.xaml.cs",
"chars": 845,
"preview": "using System.Diagnostics;\nusing Windows.UI.Popups;\nusing Windows.UI.Xaml.Controls;\n\n// The Blank Page item template is "
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/Package.appxmanifest",
"chars": 1742,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemo/Properties/AssemblyInfo.cs",
"chars": 1047,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemoTask/AppServiceTask.cs",
"chars": 2736,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemoTask/AppServicesDemoTask.csproj",
"chars": 4814,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/AppServicesDemoTask/Properties/AssemblyInfo.cs",
"chars": 1049,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SimpleCalculatorAppService/SimpleCalculatorAppServicesDemo.sln",
"chars": 4673,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/App.xaml",
"chars": 244,
"preview": "<Application\n x:Class=\"AppServicesClientApp.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentatio"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/App.xaml.cs",
"chars": 4238,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/AppServicesClientApp.csproj",
"chars": 7603,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/MainPage.xaml",
"chars": 1889,
"preview": "<Page\n x:Class=\"AppServicesClientApp.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\""
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/MainPage.xaml.cs",
"chars": 7784,
"preview": "using SynonymsServiceClientLibrary;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/Package.appxmanifest",
"chars": 1508,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/Properties/AssemblyInfo.cs",
"chars": 1057,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesClientApp/packages.config",
"chars": 158,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"Newtonsoft.Json\" version=\"6.0.8\" targetFramework=\"win8"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/App.xaml",
"chars": 234,
"preview": "<Application\n x:Class=\"AppServicesDemo.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n "
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/App.xaml.cs",
"chars": 4233,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropService"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/AppServicesDemo.csproj",
"chars": 7568,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/MainPage.xaml",
"chars": 470,
"preview": "<Page\n x:Class=\"AppServicesDemo.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n "
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/MainPage.xaml.cs",
"chars": 1692,
"preview": "using SynonymsService;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/Package.appxmanifest",
"chars": 1949,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo/Properties/AssemblyInfo.cs",
"chars": 1047,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemo.sln",
"chars": 6818,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemoTask/AppServiceTask.cs",
"chars": 2736,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemoTask/AppServicesDemoTask.csproj",
"chars": 4814,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/AppServicesDemoTask/Properties/AssemblyInfo.cs",
"chars": 1049,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/BingSynonymsResponse.cs",
"chars": 871,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Runtime.Serialization;\nusing System.Tex"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/JSONHelper.cs",
"chars": 908,
"preview": "using System.IO;\nusing System.Runtime.Serialization.Json;\nusing System.Text;\n\nnamespace SynonymsService\n{\n class JSO"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/Properties/AssemblyInfo.cs",
"chars": 1047,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/SynonymApi.cs",
"chars": 1826,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Windows.Web.Http"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/SynonymsService.csproj",
"chars": 6076,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsService/SynonymsServiceTask.cs",
"chars": 3139,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsServiceClientLibrary/Properties/AssemblyInfo.cs",
"chars": 1073,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsServiceClientLibrary/SynonymsServiceClient.cs",
"chars": 3874,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsServiceClientLibrary/SynonymsServiceClientLibrary.csproj",
"chars": 6338,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsServiceClientLibrary/SynonymsServiceResponse.cs",
"chars": 369,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "AppServicesDemo/SynonymsAppServiceDemo/SynonymsServiceClientLibrary/packages.config",
"chars": 158,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"Newtonsoft.Json\" version=\"6.0.8\" targetFramework=\"win8"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVA.sln",
"chars": 993,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 2013\nVisualStudioVersion = 12.0.21005.1\nMi"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/App_Start/WebApiConfig.cs",
"chars": 1760,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Data.Entity;\nusing System.Web.Http;\nusing Microsoft.Azure."
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Controllers/TodoItemController.cs",
"chars": 1628,
"preview": "using System.Linq;\nusing System.Threading.Tasks;\nusing System.Web.Http;\nusing System.Web.Http.Controllers;\nusing System"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/DataObjects/TodoItem.cs",
"chars": 217,
"preview": "using Microsoft.Azure.Mobile.Server;\n\nnamespace UWPDevMVAService.DataObjects\n{\n public class TodoItem : EntityData\n "
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Global.asax",
"chars": 108,
"preview": "<%@ Application Codebehind=\"Global.asax.cs\" Inherits=\"UWPDevMVAService.WebApiApplication\" Language=\"C#\" %>\n"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Global.asax.cs",
"chars": 257,
"preview": "using System.Web.Http;\nusing System.Web.Routing;\n\nnamespace UWPDevMVAService\n{\n public class WebApiApplication : Sys"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Models/UWPDevMVAContext.cs",
"chars": 1719,
"preview": "using System.Data.Entity;\nusing System.Data.Entity.ModelConfiguration.Conventions;\nusing System.Linq;\nusing Microsoft.A"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Properties/AssemblyInfo.cs",
"chars": 1360,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/UWPDevMVAService.csproj",
"chars": 12278,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"12.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Web.Debug.config",
"chars": 1239,
"preview": "<?xml version=\"1.0\"?>\n\n<!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlin"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Web.Release.config",
"chars": 1299,
"preview": "<?xml version=\"1.0\"?>\n\n<!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlin"
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/Web.config",
"chars": 5220,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n For more information on how to configure your ASP.NET application, please "
},
{
"path": "AzureMobileApps/UWPDevMVA_Runtime/UWPDevMVAService/packages.config",
"chars": 3672,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"Autofac\" version=\"3.5.2\" targetFramework=\"net45\" />\n "
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/App.xaml",
"chars": 221,
"preview": "<Application\n x:Class=\"UWPDevMVA.App\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmln"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/App.xaml.cs",
"chars": 4899,
"preview": "using Microsoft.WindowsAzure.MobileServices;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing Sys"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/DataModel/TodoItem.cs",
"chars": 375,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing Newtonsoft.Json;\n\nnamespace UWPDevMVA\n{\n pu"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/MainPage.cs",
"chars": 5258,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Microsoft.Window"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/MainPage.xaml",
"chars": 3029,
"preview": "<Page\n x:Class=\"UWPDevMVA.MainPage\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmlns:"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/MainPage.xaml.cs",
"chars": 118,
"preview": "using Windows.UI.Xaml.Controls;\n\nnamespace UWPDevMVA\n{\n public sealed partial class MainPage : Page\n {\n }\n}\n"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/Package.appxmanifest",
"chars": 1661,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows10"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/Properties/AssemblyInfo.cs",
"chars": 1061,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/UWPDevMVA.UWP.csproj",
"chars": 10277,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/app.config",
"chars": 431,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<configuration>\n <runtime>\n <assemblyBinding xmlns=\"urn:schemas-microsoft-co"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA/UWPDevMVA.WindowsPhone/packages.config",
"chars": 784,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"Microsoft.Bcl\" version=\"1.1.10\" targetFramework=\"win81"
},
{
"path": "AzureMobileApps/UWPDevMVA_Windows_CS/UWPDevMVA.sln",
"chars": 2642,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "BackgroundExecution/BackgroundExecution.sln",
"chars": 3678,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.22823.1\nMini"
},
{
"path": "BackgroundExecution/BackgroundTask/BackgroundTask.csproj",
"chars": 6722,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "BackgroundExecution/BackgroundTask/MyUpdateBadgeTask.cs",
"chars": 2769,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Text;\nusing S"
},
{
"path": "BackgroundExecution/BackgroundTask/MyUpdateTileTask.cs",
"chars": 5125,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Runtime.Inter"
},
{
"path": "BackgroundExecution/BackgroundTask/Properties/AssemblyInfo.cs",
"chars": 1045,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "BackgroundExecution/BackgroundTask/packages.config",
"chars": 166,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n <package id=\"System.Numerics.Vectors\" version=\"4.0.0\" targetFramewo"
},
{
"path": "BackgroundExecution/ForegroundApp/App.xaml",
"chars": 1544,
"preview": "<common:BootStrapper x:Class=\"Template10.App\" xmlns:common=\"using:Template10.Common\" \n xmlns=\"http:"
},
{
"path": "BackgroundExecution/ForegroundApp/App.xaml.cs",
"chars": 481,
"preview": "using System;\nusing System.Threading.Tasks;\nusing Windows.ApplicationModel.Activation;\n\nnamespace Template10\n{\n seal"
},
{
"path": "BackgroundExecution/ForegroundApp/ApplicationInsights.config",
"chars": 1690,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<ApplicationInsights xmlns=\"http://schemas.microsoft.com/ApplicationInsights/201"
},
{
"path": "BackgroundExecution/ForegroundApp/Common/BackgroundHelper.cs",
"chars": 2646,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "BackgroundExecution/ForegroundApp/Common/BootStrapper.cs",
"chars": 6065,
"preview": "using System;\nusing System.Linq;\nusing Windows.UI.Xaml;\nusing System.Threading.Tasks;\nusing Windows.ApplicationModel;\nu"
},
{
"path": "BackgroundExecution/ForegroundApp/Converters/DateTimeFormatConverter.cs",
"chars": 700,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "BackgroundExecution/ForegroundApp/Converters/ValueWhenConverter.cs",
"chars": 802,
"preview": "using System;\nusing Windows.UI.Xaml.Data;\n\nnamespace Template10.Converters\n{\n class ValueWhenConverter : IValueConve"
},
{
"path": "BackgroundExecution/ForegroundApp/ForegroundApp.csproj",
"chars": 10668,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "BackgroundExecution/ForegroundApp/Models/Models.readme.htm",
"chars": 5966,
"preview": "<!DOCTYPE html>\n\n<html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta charset=\"utf-8\" />\n <title>T"
},
{
"path": "BackgroundExecution/ForegroundApp/Models/TodoItem.cs",
"chars": 969,
"preview": "using System;\n\nnamespace Template10.Models\n{\n public class TodoItem : Mvvm.BindableBase\n {\n private string"
},
{
"path": "BackgroundExecution/ForegroundApp/Models/TodoList.cs",
"chars": 665,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\n\nnamespace Template10.Models\n{\n "
},
{
"path": "BackgroundExecution/ForegroundApp/Mvvm/BindableBase.cs",
"chars": 723,
"preview": "using System.ComponentModel;\nusing System.Runtime.CompilerServices;\n\nnamespace Template10.Mvvm\n{\n public abstract cl"
},
{
"path": "BackgroundExecution/ForegroundApp/Mvvm/Command.cs",
"chars": 2954,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "BackgroundExecution/ForegroundApp/Mvvm/ViewModelBase.cs",
"chars": 490,
"preview": "using System;\nusing System.Collections.Generic;\nusing Windows.UI.Xaml.Navigation;\n\nnamespace Template10.Mvvm\n{\n publ"
},
{
"path": "BackgroundExecution/ForegroundApp/Package.appxmanifest",
"chars": 1482,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Package\n xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows"
},
{
"path": "BackgroundExecution/ForegroundApp/Properties/AssemblyInfo.cs",
"chars": 1043,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "BackgroundExecution/ForegroundApp/Properties/Default.rd.xml",
"chars": 1241,
"preview": "<!--\n This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most\n develope"
},
{
"path": "BackgroundExecution/ForegroundApp/Repositories/TodoItemRepository.cs",
"chars": 1386,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Template10.Model"
},
{
"path": "BackgroundExecution/ForegroundApp/Repositories/TodoListRepository.cs",
"chars": 2361,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Template10.Model"
},
{
"path": "BackgroundExecution/ForegroundApp/Services/FileService/FileHelper.cs",
"chars": 7277,
"preview": "using Newtonsoft.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing Syst"
},
{
"path": "BackgroundExecution/ForegroundApp/Services/FileService/FileService.cs",
"chars": 658,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nna"
},
{
"path": "BackgroundExecution/ForegroundApp/Services/NavigationService/INavigatable.cs",
"chars": 350,
"preview": "using System.Collections.Generic;\nusing Windows.UI.Xaml.Navigation;\n\nnamespace Template10.Services.NavigationService\n{\n"
},
{
"path": "BackgroundExecution/ForegroundApp/Services/NavigationService/NavigationEventArgs.cs",
"chars": 371,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "BackgroundExecution/ForegroundApp/Services/NavigationService/NavigationFacade.cs",
"chars": 4785,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi"
},
{
"path": "BackgroundExecution/ForegroundApp/Services/NavigationService/NavigationService.cs",
"chars": 3207,
"preview": "using System;\nusing Windows.UI.Xaml;\nusing Windows.UI.Xaml.Controls;\nusing Windows.UI.Xaml.Navigation;\n\nnamespace Templ"
},
{
"path": "BackgroundExecution/ForegroundApp/Styles/StarRadioButtonStyle.xaml",
"chars": 10676,
"preview": "<ResourceDictionary\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" \n xmlns:x=\"http://schemas."
},
{
"path": "BackgroundExecution/ForegroundApp/ViewModels/MainPageViewModel.cs",
"chars": 7046,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\nusing System.Linq;\nusing System.T"
}
]
// ... and 739 more files (download for full content)
About this extraction
This page contains the full source code of the Windows-XAML/201505-MVA GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 939 files (3.2 MB), approximately 900.6k tokens, and a symbol index with 2973 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.