private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::REBCrash.REBCrash_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::REBCrash.REBCrash_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Windows.UI.Xaml.Controls.Page": xamlType = new global::REBCrash.REBCrash_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::REBCrash.REBCrash_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "REBCrash.MainPage": userType = new global::REBCrash.REBCrash_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::REBCrash.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::REBCrash.REBCrash_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::REBCrash.REBCrash_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Windows.UI.Xaml.Controls.Page": xamlType = new global::REBCrash.REBCrash_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::REBCrash.REBCrash_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "REBCrash.MainPage": userType = new global::REBCrash.REBCrash_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::REBCrash.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; xamlType = userType; break; } return xamlType; }