diff --git a/GameAtlas/.vs/GameAtlas/v17/.suo b/GameAtlas/.vs/GameAtlas/v17/.suo
index 0c40bd2..41000a0 100644
Binary files a/GameAtlas/.vs/GameAtlas/v17/.suo and b/GameAtlas/.vs/GameAtlas/v17/.suo differ
diff --git a/GameAtlas/GameAtlas/.vs/GameAtlas.App/FileContentIndex/19d72a7d-69ab-4cdf-a790-75d4ff3845dd.vsidx b/GameAtlas/GameAtlas/.vs/GameAtlas.App/FileContentIndex/19d72a7d-69ab-4cdf-a790-75d4ff3845dd.vsidx
deleted file mode 100644
index 874f443..0000000
Binary files a/GameAtlas/GameAtlas/.vs/GameAtlas.App/FileContentIndex/19d72a7d-69ab-4cdf-a790-75d4ff3845dd.vsidx and /dev/null differ
diff --git a/GameAtlas/GameAtlas/AppShell.xaml b/GameAtlas/GameAtlas/AppShell.xaml
index 0d8f0d5..5d04807 100644
--- a/GameAtlas/GameAtlas/AppShell.xaml
+++ b/GameAtlas/GameAtlas/AppShell.xaml
@@ -3,12 +3,12 @@
x:Class="GameAtlas.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:local="clr-namespace:GameAtlas"
+ xmlns:local="clr-namespace:GameAtlas.Views"
Shell.FlyoutBehavior="Disabled">
+ Title="Accueil"
+ ContentTemplate="{DataTemplate local:PageAccueil}"
+ Route="Views/PageAccueil" />
diff --git a/GameAtlas/GameAtlas/GameAtlas.csproj b/GameAtlas/GameAtlas/GameAtlas.csproj
index 52929e2..751ee81 100644
--- a/GameAtlas/GameAtlas/GameAtlas.csproj
+++ b/GameAtlas/GameAtlas/GameAtlas.csproj
@@ -48,4 +48,16 @@
+
+
+ PageAccueil.xaml
+
+
+
+
+
+ MSBuild:Compile
+
+
+
diff --git a/GameAtlas/GameAtlas/GameAtlas.csproj.user b/GameAtlas/GameAtlas/GameAtlas.csproj.user
index 0f14913..b4f125b 100644
--- a/GameAtlas/GameAtlas/GameAtlas.csproj.user
+++ b/GameAtlas/GameAtlas/GameAtlas.csproj.user
@@ -1,4 +1,13 @@
-
+
+ False
+ net6.0-windows10.0.19041.0
+ Windows Machine
+
+
+
+ Designer
+
+
\ No newline at end of file
diff --git a/GameAtlas/GameAtlas/MainPage.xaml b/GameAtlas/GameAtlas/MainPage.xaml
deleted file mode 100644
index b505156..0000000
--- a/GameAtlas/GameAtlas/MainPage.xaml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/GameAtlas/GameAtlas/MainPage.xaml.cs b/GameAtlas/GameAtlas/MainPage.xaml.cs
deleted file mode 100644
index f8b0fa3..0000000
--- a/GameAtlas/GameAtlas/MainPage.xaml.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace GameAtlas;
-
-public partial class MainPage : ContentPage
-{
- int count = 0;
-
- public MainPage()
- {
- InitializeComponent();
- }
-
- private void OnCounterClicked(object sender, EventArgs e)
- {
- count++;
-
- if (count == 1)
- CounterBtn.Text = $"Clicked {count} time";
- else
- CounterBtn.Text = $"Clicked {count} times";
-
- SemanticScreenReader.Announce(CounterBtn.Text);
- }
-}
-
diff --git a/GameAtlas/GameAtlas/Resources/Images/unknown.png b/GameAtlas/GameAtlas/Resources/Images/unknown.png
new file mode 100644
index 0000000..de6a7b5
Binary files /dev/null and b/GameAtlas/GameAtlas/Resources/Images/unknown.png differ
diff --git a/GameAtlas/GameAtlas/Views/PageAccueil.xaml b/GameAtlas/GameAtlas/Views/PageAccueil.xaml
new file mode 100644
index 0000000..cb21c93
--- /dev/null
+++ b/GameAtlas/GameAtlas/Views/PageAccueil.xaml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GameAtlas/GameAtlas/Views/PageAccueil.xaml.cs b/GameAtlas/GameAtlas/Views/PageAccueil.xaml.cs
new file mode 100644
index 0000000..f9b40ad
--- /dev/null
+++ b/GameAtlas/GameAtlas/Views/PageAccueil.xaml.cs
@@ -0,0 +1,9 @@
+namespace GameAtlas.Views;
+
+public partial class PageAccueil : ContentPage
+{
+ public PageAccueil()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/GameAtlas/GameAtlas/obj/Debug/net6.0-android/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig b/GameAtlas/GameAtlas/obj/Debug/net6.0-android/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
index 79e086b..f176336 100644
--- a/GameAtlas/GameAtlas/obj/Debug/net6.0-android/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
+++ b/GameAtlas/GameAtlas/obj/Debug/net6.0-android/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
@@ -22,12 +22,6 @@ build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.AppShell.xaml
build_metadata.AdditionalFiles.TargetPath = AppShell.xaml
build_metadata.AdditionalFiles.RelativePath = AppShell.xaml
-[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/MainPage.xaml]
-build_metadata.AdditionalFiles.GenKind = Xaml
-build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.MainPage.xaml
-build_metadata.AdditionalFiles.TargetPath = MainPage.xaml
-build_metadata.AdditionalFiles.RelativePath = MainPage.xaml
-
[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Resources/Styles/Colors.xaml]
build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Colors.xaml
@@ -39,3 +33,9 @@ build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Styles.xaml
build_metadata.AdditionalFiles.TargetPath = Resources\Styles\Styles.xaml
build_metadata.AdditionalFiles.RelativePath = Resources\Styles\Styles.xaml
+
+[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Views/PageAccueil.xaml]
+build_metadata.AdditionalFiles.GenKind = Xaml
+build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Views.PageAccueil.xaml
+build_metadata.AdditionalFiles.TargetPath = Views\PageAccueil.xaml
+build_metadata.AdditionalFiles.RelativePath = Views\PageAccueil.xaml
diff --git a/GameAtlas/GameAtlas/obj/Debug/net6.0-ios/iossimulator-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig b/GameAtlas/GameAtlas/obj/Debug/net6.0-ios/iossimulator-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
index b26e9ee..db494e7 100644
--- a/GameAtlas/GameAtlas/obj/Debug/net6.0-ios/iossimulator-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
+++ b/GameAtlas/GameAtlas/obj/Debug/net6.0-ios/iossimulator-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
@@ -22,12 +22,6 @@ build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.AppShell.xaml
build_metadata.AdditionalFiles.TargetPath = AppShell.xaml
build_metadata.AdditionalFiles.RelativePath = AppShell.xaml
-[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/MainPage.xaml]
-build_metadata.AdditionalFiles.GenKind = Xaml
-build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.MainPage.xaml
-build_metadata.AdditionalFiles.TargetPath = MainPage.xaml
-build_metadata.AdditionalFiles.RelativePath = MainPage.xaml
-
[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Resources/Styles/Colors.xaml]
build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Colors.xaml
@@ -39,3 +33,9 @@ build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Styles.xaml
build_metadata.AdditionalFiles.TargetPath = Resources\Styles\Styles.xaml
build_metadata.AdditionalFiles.RelativePath = Resources\Styles\Styles.xaml
+
+[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Views/PageAccueil.xaml]
+build_metadata.AdditionalFiles.GenKind = Xaml
+build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Views.PageAccueil.xaml
+build_metadata.AdditionalFiles.TargetPath = Views\PageAccueil.xaml
+build_metadata.AdditionalFiles.RelativePath = Views\PageAccueil.xaml
diff --git a/GameAtlas/GameAtlas/obj/Debug/net6.0-maccatalyst/maccatalyst-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig b/GameAtlas/GameAtlas/obj/Debug/net6.0-maccatalyst/maccatalyst-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
index fe209b8..a1dbe32 100644
--- a/GameAtlas/GameAtlas/obj/Debug/net6.0-maccatalyst/maccatalyst-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
+++ b/GameAtlas/GameAtlas/obj/Debug/net6.0-maccatalyst/maccatalyst-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
@@ -22,12 +22,6 @@ build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.AppShell.xaml
build_metadata.AdditionalFiles.TargetPath = AppShell.xaml
build_metadata.AdditionalFiles.RelativePath = AppShell.xaml
-[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/MainPage.xaml]
-build_metadata.AdditionalFiles.GenKind = Xaml
-build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.MainPage.xaml
-build_metadata.AdditionalFiles.TargetPath = MainPage.xaml
-build_metadata.AdditionalFiles.RelativePath = MainPage.xaml
-
[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Resources/Styles/Colors.xaml]
build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Colors.xaml
@@ -39,3 +33,9 @@ build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Styles.xaml
build_metadata.AdditionalFiles.TargetPath = Resources\Styles\Styles.xaml
build_metadata.AdditionalFiles.RelativePath = Resources\Styles\Styles.xaml
+
+[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Views/PageAccueil.xaml]
+build_metadata.AdditionalFiles.GenKind = Xaml
+build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Views.PageAccueil.xaml
+build_metadata.AdditionalFiles.TargetPath = Views\PageAccueil.xaml
+build_metadata.AdditionalFiles.RelativePath = Views\PageAccueil.xaml
diff --git a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
index 6e1a52c..80d2811 100644
--- a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
+++ b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/GameAtlas.GeneratedMSBuildEditorConfig.editorconfig
@@ -22,12 +22,6 @@ build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.AppShell.xaml
build_metadata.AdditionalFiles.TargetPath = AppShell.xaml
build_metadata.AdditionalFiles.RelativePath = AppShell.xaml
-[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/MainPage.xaml]
-build_metadata.AdditionalFiles.GenKind = Xaml
-build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.MainPage.xaml
-build_metadata.AdditionalFiles.TargetPath = MainPage.xaml
-build_metadata.AdditionalFiles.RelativePath = MainPage.xaml
-
[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Resources/Styles/Colors.xaml]
build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Colors.xaml
@@ -39,3 +33,9 @@ build_metadata.AdditionalFiles.GenKind = Xaml
build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Resources.Styles.Styles.xaml
build_metadata.AdditionalFiles.TargetPath = Resources\Styles\Styles.xaml
build_metadata.AdditionalFiles.RelativePath = Resources\Styles\Styles.xaml
+
+[C:/Users/relavergne/source/repos/SAE2.01-IHM/GameAtlas/GameAtlas/Views/PageAccueil.xaml]
+build_metadata.AdditionalFiles.GenKind = Xaml
+build_metadata.AdditionalFiles.ManifestResourceName = GameAtlas.Views.PageAccueil.xaml
+build_metadata.AdditionalFiles.TargetPath = Views\PageAccueil.xaml
+build_metadata.AdditionalFiles.RelativePath = Views\PageAccueil.xaml
diff --git a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/Platforms/Windows/App.g.cs b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/Platforms/Windows/App.g.cs
index e69de29..3d14ba2 100644
--- a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/Platforms/Windows/App.g.cs
+++ b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/Platforms/Windows/App.g.cs
@@ -0,0 +1,17 @@
+#pragma checksum "C:\Users\relavergne\source\repos\SAE2.01-IHM\GameAtlas\GameAtlas\Platforms\Windows\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8064819DA9AFEC53238EF0BEE0D46E9E0B44FE0E62F4B3C4B0F52C8A1055CD1B"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GameAtlas.WinUI
+{
+ partial class App : global::Microsoft.Maui.MauiWinUIApplication
+ {
+ }
+}
+
diff --git a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlSaveStateFile.xml b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlSaveStateFile.xml
index efa5ba7..230e054 100644
--- a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlSaveStateFile.xml
+++ b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlSaveStateFile.xml
@@ -1 +1 @@
-EnableXBindDiagnostics, EnableDefaultValidationContextGeneration, EnableWin32Codegen, UsingCSWinRT
\ No newline at end of file
+EnableXBindDiagnostics, EnableDefaultValidationContextGeneration, EnableWin32Codegen, UsingCSWinRT
\ No newline at end of file
diff --git a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlTypeInfo.g.cs b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlTypeInfo.g.cs
index e69de29..0870862 100644
--- a/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlTypeInfo.g.cs
+++ b/GameAtlas/GameAtlas/obj/Debug/net6.0-windows10.0.19041.0/win10-x64/XamlTypeInfo.g.cs
@@ -0,0 +1,1644 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace GameAtlas.WinUI
+{
+ public partial class App : global::Microsoft.UI.Xaml.Markup.IXamlMetadataProvider
+ {
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 1.0.0.0")]
+ private global::GameAtlas.GameAtlas_XamlTypeInfo.XamlMetaDataProvider __appProvider;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 1.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ private global::GameAtlas.GameAtlas_XamlTypeInfo.XamlMetaDataProvider _AppProvider
+ {
+ get
+ {
+ if (__appProvider == null)
+ {
+ __appProvider = new global::GameAtlas.GameAtlas_XamlTypeInfo.XamlMetaDataProvider();
+ }
+ return __appProvider;
+ }
+ }
+
+ ///
+ /// GetXamlType(Type)
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 1.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::Microsoft.UI.Xaml.Markup.IXamlType GetXamlType(global::System.Type type)
+ {
+ return _AppProvider.GetXamlType(type);
+ }
+
+ ///
+ /// GetXamlType(String)
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 1.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::Microsoft.UI.Xaml.Markup.IXamlType GetXamlType(string fullName)
+ {
+ return _AppProvider.GetXamlType(fullName);
+ }
+
+ ///
+ /// GetXmlnsDefinitions()
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 1.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::Microsoft.UI.Xaml.Markup.XmlnsDefinition[] GetXmlnsDefinitions()
+ {
+ return _AppProvider.GetXmlnsDefinitions();
+ }
+ }
+}
+
+namespace GameAtlas.GameAtlas_XamlTypeInfo
+{
+ ///
+ /// Main class for providing metadata for the app or library
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 1.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public sealed class XamlMetaDataProvider : global::Microsoft.UI.Xaml.Markup.IXamlMetadataProvider
+ {
+ private global::GameAtlas.GameAtlas_XamlTypeInfo.XamlTypeInfoProvider _provider = null;
+
+ private global::GameAtlas.GameAtlas_XamlTypeInfo.XamlTypeInfoProvider Provider
+ {
+ get
+ {
+ if (_provider == null)
+ {
+ _provider = new global::GameAtlas.GameAtlas_XamlTypeInfo.XamlTypeInfoProvider();
+ }
+ return _provider;
+ }
+ }
+
+ ///
+ /// GetXamlType(Type)
+ ///
+ [global::Windows.Foundation.Metadata.DefaultOverload]
+ public global::Microsoft.UI.Xaml.Markup.IXamlType GetXamlType(global::System.Type type)
+ {
+ return Provider.GetXamlTypeByType(type);
+ }
+
+ ///
+ /// GetXamlType(String)
+ ///
+ public global::Microsoft.UI.Xaml.Markup.IXamlType GetXamlType(string fullName)
+ {
+ return Provider.GetXamlTypeByName(fullName);
+ }
+
+ ///
+ /// GetXmlnsDefinitions()
+ ///
+ public global::Microsoft.UI.Xaml.Markup.XmlnsDefinition[] GetXmlnsDefinitions()
+ {
+ return new global::Microsoft.UI.Xaml.Markup.XmlnsDefinition[0];
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 1.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ internal partial class XamlTypeInfoProvider
+ {
+ public global::Microsoft.UI.Xaml.Markup.IXamlType GetXamlTypeByType(global::System.Type type)
+ {
+ global::Microsoft.UI.Xaml.Markup.IXamlType xamlType;
+ lock (_xamlTypeCacheByType)
+ {
+ if (_xamlTypeCacheByType.TryGetValue(type, out xamlType))
+ {
+ return xamlType;
+ }
+ int typeIndex = LookupTypeIndexByType(type);
+ if(typeIndex != -1)
+ {
+ xamlType = CreateXamlType(typeIndex);
+ }
+ var userXamlType = xamlType as global::GameAtlas.GameAtlas_XamlTypeInfo.XamlUserType;
+ if(xamlType == null || (userXamlType != null && userXamlType.IsReturnTypeStub && !userXamlType.IsLocalType))
+ {
+ global::Microsoft.UI.Xaml.Markup.IXamlType libXamlType = CheckOtherMetadataProvidersForType(type);
+ if (libXamlType != null)
+ {
+ if(libXamlType.IsConstructible || xamlType == null)
+ {
+ xamlType = libXamlType;
+ }
+ }
+ }
+ if (xamlType != null)
+ {
+ _xamlTypeCacheByName.Add(xamlType.FullName, xamlType);
+ _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType);
+ }
+ }
+ return xamlType;
+ }
+
+ public global::Microsoft.UI.Xaml.Markup.IXamlType GetXamlTypeByName(string typeName)
+ {
+ if (string.IsNullOrEmpty(typeName))
+ {
+ return null;
+ }
+ global::Microsoft.UI.Xaml.Markup.IXamlType xamlType;
+ lock (_xamlTypeCacheByType)
+ {
+ if (_xamlTypeCacheByName.TryGetValue(typeName, out xamlType))
+ {
+ return xamlType;
+ }
+ int typeIndex = LookupTypeIndexByName(typeName);
+ if(typeIndex != -1)
+ {
+ xamlType = CreateXamlType(typeIndex);
+ }
+ var userXamlType = xamlType as global::GameAtlas.GameAtlas_XamlTypeInfo.XamlUserType;
+ if(xamlType == null || (userXamlType != null && userXamlType.IsReturnTypeStub && !userXamlType.IsLocalType))
+ {
+ global::Microsoft.UI.Xaml.Markup.IXamlType libXamlType = CheckOtherMetadataProvidersForName(typeName);
+ if (libXamlType != null)
+ {
+ if(libXamlType.IsConstructible || xamlType == null)
+ {
+ xamlType = libXamlType;
+ }
+ }
+ }
+ if (xamlType != null)
+ {
+ _xamlTypeCacheByName.Add(xamlType.FullName, xamlType);
+ _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType);
+ }
+ }
+ return xamlType;
+ }
+
+ public global::Microsoft.UI.Xaml.Markup.IXamlMember GetMemberByLongName(string longMemberName)
+ {
+ if (string.IsNullOrEmpty(longMemberName))
+ {
+ return null;
+ }
+ global::Microsoft.UI.Xaml.Markup.IXamlMember xamlMember;
+ lock (_xamlMembers)
+ {
+ if (_xamlMembers.TryGetValue(longMemberName, out xamlMember))
+ {
+ return xamlMember;
+ }
+ xamlMember = CreateXamlMember(longMemberName);
+ if (xamlMember != null)
+ {
+ _xamlMembers.Add(longMemberName, xamlMember);
+ }
+ }
+ return xamlMember;
+ }
+
+ global::System.Collections.Generic.Dictionary
+ _xamlTypeCacheByName = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.Dictionary
+ _xamlTypeCacheByType = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.Dictionary
+ _xamlMembers = new global::System.Collections.Generic.Dictionary();
+
+ string[] _typeNameTable = null;
+ global::System.Type[] _typeTable = null;
+
+ private void InitTypeTables()
+ {
+ _typeNameTable = new string[32];
+ _typeNameTable[0] = "Microsoft.Maui.MauiWinUIApplication";
+ _typeNameTable[1] = "Microsoft.UI.Xaml.Application";
+ _typeNameTable[2] = "Microsoft.UI.Xaml.LaunchActivatedEventArgs";
+ _typeNameTable[3] = "System.IServiceProvider";
+ _typeNameTable[4] = "Microsoft.Maui.IApplication";
+ _typeNameTable[5] = "Microsoft.Maui.Controls.Platform.ShellView";
+ _typeNameTable[6] = "Microsoft.Maui.Platform.RootNavigationView";
+ _typeNameTable[7] = "Microsoft.Maui.Platform.MauiNavigationView";
+ _typeNameTable[8] = "Microsoft.UI.Xaml.Controls.NavigationView";
+ _typeNameTable[9] = "Microsoft.UI.Xaml.Controls.ContentControl";
+ _typeNameTable[10] = "Microsoft.UI.Xaml.Thickness";
+ _typeNameTable[11] = "System.ValueType";
+ _typeNameTable[12] = "Object";
+ _typeNameTable[13] = "Boolean";
+ _typeNameTable[14] = "Microsoft.UI.Xaml.Controls.AutoSuggestBox";
+ _typeNameTable[15] = "Double";
+ _typeNameTable[16] = "Microsoft.UI.Xaml.UIElement";
+ _typeNameTable[17] = "Microsoft.UI.Xaml.Controls.NavigationViewDisplayMode";
+ _typeNameTable[18] = "System.Enum";
+ _typeNameTable[19] = "System.Collections.Generic.IList`1