From 208b6df1aaa28397e3d8efefb6ceee52a19a498b Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 12 Oct 2016 02:04:48 +0200 Subject: [PATCH] cleaning --- BookAStar/BookAStar/App.xaml.cs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/BookAStar/BookAStar/App.xaml.cs b/BookAStar/BookAStar/App.xaml.cs index edd3a913..328e2e55 100644 --- a/BookAStar/BookAStar/App.xaml.cs +++ b/BookAStar/BookAStar/App.xaml.cs @@ -217,28 +217,7 @@ namespace BookAStar } // TODO système de persistance de l'état de l'appli - /* - /// - /// Shows a page asynchronously by locating the default constructor, creating the page, - /// the pushing it onto the navigation stack. - /// - /// Parent Page - /// Type of page to show - /// - public static async Task ShowPage(VisualElement parentPage, Type pageType) - { - // Get all the constructors of the page type. - var constructors = pageType.GetTypeInfo().DeclaredConstructors; - foreach (var page in - from constructor in constructors - where constructor.GetParameters().Length == 0 - select (Page)constructor.Invoke(null)) - { - await parentPage.Navigation.PushAsync(page); - break; - } - }*/ } }