private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // BallDrive.ColorToBrushConverter userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_ColorToBrushConverter; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // BallDrive.AppSettings userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_2_AppSettings; userType.AddMemberName("Colours"); userType.SetIsLocalType(); xamlType = userType; break; case 3: // Windows.UI.Xaml.Controls.Page xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // System.Collections.Generic.List`1<Windows.UI.Color> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_5_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // Windows.UI.Color userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.AddMemberName("A"); userType.AddMemberName("B"); userType.AddMemberName("G"); userType.AddMemberName("R"); xamlType = userType; break; case 7: // System.ValueType userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 8: // Byte userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 9: // BallDrive.BallDriveInfoPage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_BallDriveInfoPage; userType.SetIsLocalType(); xamlType = userType; break; case 10: // BallDrive.GameInfoPage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_GameInfoPage; userType.SetIsLocalType(); xamlType = userType; break; case 11: // BallDrive.Data.Characters.DoubleToMultiplyerString userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_11_DoubleToMultiplyerString; userType.SetIsLocalType(); xamlType = userType; break; case 12: // BallDrive.Data.Characters.ColorToColorBrushConverter userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_12_ColorToColorBrushConverter; userType.SetIsLocalType(); xamlType = userType; break; case 13: // BallDrive.Data.Games.toMinuteSecondFormatConverter userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_13_toMinuteSecondFormatConverter; userType.SetIsLocalType(); xamlType = userType; break; case 14: // BallDrive.GameView userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_GameView; userType.AddMemberName("CurrentGame"); userType.SetIsLocalType(); xamlType = userType; break; case 15: // BallDrive.Data.Games.Game userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 16: // BallDrive.HighScoreView userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_HighScoreView; userType.AddMemberName("TOP7"); userType.SetIsLocalType(); xamlType = userType; break; case 17: // System.Collections.Generic.List`1<BallDrive.Data.Scores.HighScore> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_17_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 18: // BallDrive.Data.Scores.HighScore userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Name"); userType.AddMemberName("Score"); userType.AddMemberName("Time"); userType.AddMemberName("Difficulty"); userType.SetIsLocalType(); xamlType = userType; break; case 19: // String xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 20: // Int32 xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 21: // System.DateTime userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 22: // BallDrive.Data.Controls.DifficultySettings.DIFFICULTY userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum")); userType.AddEnumValue("EASY", global::BallDrive.Data.Controls.DifficultySettings.DIFFICULTY.EASY); userType.AddEnumValue("NORMAL", global::BallDrive.Data.Controls.DifficultySettings.DIFFICULTY.NORMAL); userType.AddEnumValue("HARD", global::BallDrive.Data.Controls.DifficultySettings.DIFFICULTY.HARD); userType.SetIsLocalType(); xamlType = userType; break; case 23: // System.Enum userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case 24: // BallDrive.Data.PopupQueue userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.Generic.Queue`1<String>")); userType.Activator = Activate_24_PopupQueue; userType.AddMemberName("MessageAvailable"); userType.SetIsLocalType(); xamlType = userType; break; case 25: // System.Collections.Generic.Queue`1<String> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_25_Queue; userType.AddMemberName("Count"); xamlType = userType; break; case 26: // Boolean xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 27: // BallDrive.MainPage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_27_MainPage; userType.AddMemberName("deviceType"); userType.SetIsLocalType(); xamlType = userType; break; case 28: // BallDrive.NewGamePage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_28_NewGamePage; userType.AddMemberName("nQueue"); userType.SetIsLocalType(); xamlType = userType; break; case 29: // BallDrive.Data.Notifications.NoteQueue userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.Generic.Queue`1<BallDrive.Data.Notifications.Note>")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 30: // System.Collections.Generic.Queue`1<BallDrive.Data.Notifications.Note> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_30_Queue; xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // BallDrive.ColorToBrushConverter userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_ColorToBrushConverter; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // BallDrive.AppSettings userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_2_AppSettings; userType.AddMemberName("Colours"); userType.SetIsLocalType(); xamlType = userType; break; case 3: // Windows.UI.Xaml.Controls.Page xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // System.Collections.Generic.List`1<Windows.UI.Color> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_5_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // Windows.UI.Color userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.AddMemberName("A"); userType.AddMemberName("B"); userType.AddMemberName("G"); userType.AddMemberName("R"); xamlType = userType; break; case 7: // System.ValueType userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 8: // Byte userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 9: // BallDrive.BallDriveInfoPage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_BallDriveInfoPage; userType.SetIsLocalType(); xamlType = userType; break; case 10: // BallDrive.GameInfoPage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_GameInfoPage; userType.SetIsLocalType(); xamlType = userType; break; case 11: // BallDrive.Data.Characters.DoubleToMultiplyerString userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_11_DoubleToMultiplyerString; userType.SetIsLocalType(); xamlType = userType; break; case 12: // BallDrive.Data.Characters.ColorToColorBrushConverter userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_12_ColorToColorBrushConverter; userType.SetIsLocalType(); xamlType = userType; break; case 13: // BallDrive.Data.Games.toMinuteSecondFormatConverter userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_13_toMinuteSecondFormatConverter; userType.SetIsLocalType(); xamlType = userType; break; case 14: // BallDrive.GameView userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_GameView; userType.AddMemberName("CurrentGame"); userType.SetIsLocalType(); xamlType = userType; break; case 15: // BallDrive.Data.Games.Game userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 16: // BallDrive.HighScoreView userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_HighScoreView; userType.AddMemberName("TOP7"); userType.SetIsLocalType(); xamlType = userType; break; case 17: // System.Collections.Generic.List`1<BallDrive.Data.Scores.HighScore> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_17_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 18: // BallDrive.Data.Scores.HighScore userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Name"); userType.AddMemberName("Score"); userType.AddMemberName("Time"); userType.AddMemberName("Difficulty"); userType.SetIsLocalType(); xamlType = userType; break; case 19: // String xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 20: // Int32 xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 21: // System.DateTime userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 22: // BallDrive.Data.Controls.DifficultySettings.DIFFICULTY userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum")); userType.AddEnumValue("EASY", global::BallDrive.Data.Controls.DifficultySettings.DIFFICULTY.EASY); userType.AddEnumValue("NORMAL", global::BallDrive.Data.Controls.DifficultySettings.DIFFICULTY.NORMAL); userType.AddEnumValue("HARD", global::BallDrive.Data.Controls.DifficultySettings.DIFFICULTY.HARD); userType.SetIsLocalType(); xamlType = userType; break; case 23: // System.Enum userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case 24: // BallDrive.Data.PopupQueue userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.Generic.Queue`1<String>")); userType.Activator = Activate_24_PopupQueue; userType.AddMemberName("MessageAvailable"); userType.SetIsLocalType(); xamlType = userType; break; case 25: // System.Collections.Generic.Queue`1<String> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_25_Queue; userType.AddMemberName("Count"); xamlType = userType; break; case 26: // Boolean xamlType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 27: // BallDrive.MainPage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_27_MainPage; userType.AddMemberName("deviceType"); userType.SetIsLocalType(); xamlType = userType; break; case 28: // BallDrive.NewGamePage userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_28_NewGamePage; userType.AddMemberName("nQueue"); userType.SetIsLocalType(); xamlType = userType; break; case 29: // BallDrive.Data.Notifications.NoteQueue userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.Generic.Queue`1<BallDrive.Data.Notifications.Note>")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 30: // System.Collections.Generic.Queue`1<BallDrive.Data.Notifications.Note> userType = new global::BallDrive.BallDrive_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_30_Queue; xamlType = userType; break; } return(xamlType); }