private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Home_Automation__RPi2_WinIoT_.MainPage userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Home_Automation__RPi2_WinIoT_.Pages.Page_Configuration userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_Page_Configuration; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Home_Automation__RPi2_WinIoT_.Pages.Page_Devices userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_Page_Devices; userType.SetIsLocalType(); xamlType = userType; break; case 5: // Home_Automation__RPi2_WinIoT_.Pages.Page_Room userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_Page_Room; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Home_Automation__RPi2_WinIoT_.MainPage userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Home_Automation__RPi2_WinIoT_.Pages.Page_Configuration userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_Page_Configuration; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Home_Automation__RPi2_WinIoT_.Pages.Page_Devices userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_Page_Devices; userType.SetIsLocalType(); xamlType = userType; break; case 5: // Home_Automation__RPi2_WinIoT_.Pages.Page_Room userType = new global::Home_Automation__RPi2_WinIoT_.Home_Automation__RPi2_WinIoT__XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_Page_Room; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }