private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Windows.UI.Text.FontWeight userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case 1: // System.ValueType userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 2: // Object xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // App2.About userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_About; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Windows.UI.Xaml.Controls.Page xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // App2.Cali userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_Cali; userType.SetIsLocalType(); xamlType = userType; break; case 7: // App2.ConnectionActivity userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_ConnectionActivity; userType.SetIsLocalType(); xamlType = userType; break; case 8: // App2.GoalWeight userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_GoalWeight; userType.SetIsLocalType(); xamlType = userType; break; case 9: // App2.GoalWeight2 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_GoalWeight2; userType.SetIsLocalType(); xamlType = userType; break; case 10: // CustomLiveTiles.MediumTileIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_10_MediumTileIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundColor"); userType.AddMemberName("BackgroundIcon"); userType.SetIsLocalType(); xamlType = userType; break; case 11: // String xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 12: // Windows.UI.Color userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 13: // Windows.UI.Xaml.Media.ImageSource xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 14: // CustomLiveTiles.MediumTileFlipIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_14_MediumTileFlipIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundColor"); userType.AddMemberName("BackgroundIcon"); userType.SetIsLocalType(); xamlType = userType; break; case 15: // CustomLiveTiles.WideTileIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_15_WideTileIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundColor"); userType.AddMemberName("BackgroundIcon"); userType.SetIsLocalType(); xamlType = userType; break; case 16: // App2.Home userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_Home; userType.SetIsLocalType(); xamlType = userType; break; case 17: // App2.Inscription userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_17_Inscription; userType.SetIsLocalType(); xamlType = userType; break; case 18: // App2.LogDiet1 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_LogDiet1; userType.SetIsLocalType(); xamlType = userType; break; case 19: // App2.LogDiet2 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_19_LogDiet2; userType.SetIsLocalType(); xamlType = userType; break; case 20: // App2.LogDiet3 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_20_LogDiet3; userType.SetIsLocalType(); xamlType = userType; break; case 21: // App2.LogDietFinal userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_21_LogDietFinal; userType.SetIsLocalType(); xamlType = userType; break; case 22: // App2.RunPage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_22_RunPage; userType.SetIsLocalType(); xamlType = userType; break; case 23: // WinRTXamlToolkit.Controls.DataVisualization.Charting.Chart userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control")); userType.Activator = Activate_23_Chart; userType.SetContentPropertyName("WinRTXamlToolkit.Controls.DataVisualization.Charting.Chart.Series"); userType.AddMemberName("Series"); userType.AddMemberName("Palette"); userType.AddMemberName("Axes"); userType.AddMemberName("ActualAxes"); userType.AddMemberName("ChartAreaStyle"); userType.AddMemberName("LegendItems"); userType.AddMemberName("LegendStyle"); userType.AddMemberName("LegendTitle"); userType.AddMemberName("PlotAreaStyle"); userType.AddMemberName("Title"); userType.AddMemberName("TitleStyle"); xamlType = userType; break; case 24: // Windows.UI.Xaml.Controls.Control xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 25: // System.Collections.ObjectModel.Collection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.ISeries> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_25_Collection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 26: // WinRTXamlToolkit.Controls.DataVisualization.Charting.ISeries userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.AddMemberName("LegendItems"); xamlType = userType; break; case 27: // System.Collections.ObjectModel.ObservableCollection`1<Object> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Object>")); userType.CollectionAdd = VectorAdd_27_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 28: // System.Collections.ObjectModel.Collection`1<Object> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_28_Collection; userType.CollectionAdd = VectorAdd_28_Collection; xamlType = userType; break; case 29: // System.Collections.ObjectModel.Collection`1<Windows.UI.Xaml.ResourceDictionary> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_29_Collection; userType.CollectionAdd = VectorAdd_29_Collection; userType.AddMemberName("Count"); xamlType = userType; break; case 30: // Windows.UI.Xaml.ResourceDictionary xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 31: // System.Collections.ObjectModel.Collection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxis> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_31_Collection; userType.CollectionAdd = VectorAdd_31_Collection; xamlType = userType; break; case 32: // WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxis userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.AddMemberName("Orientation"); userType.AddMemberName("RegisteredListeners"); userType.AddMemberName("DependentAxes"); xamlType = userType; break; case 33: // WinRTXamlToolkit.Controls.DataVisualization.Charting.AxisOrientation userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum")); userType.AddEnumValue("None", global::WinRTXamlToolkit.Controls.DataVisualization.Charting.AxisOrientation.None); userType.AddEnumValue("X", global::WinRTXamlToolkit.Controls.DataVisualization.Charting.AxisOrientation.X); userType.AddEnumValue("Y", global::WinRTXamlToolkit.Controls.DataVisualization.Charting.AxisOrientation.Y); xamlType = userType; break; case 34: // System.Enum userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case 35: // System.Collections.ObjectModel.ObservableCollection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxisListener> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxisListener>")); userType.CollectionAdd = VectorAdd_35_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 36: // System.Collections.ObjectModel.Collection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxisListener> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_36_Collection; userType.CollectionAdd = VectorAdd_36_Collection; xamlType = userType; break; case 37: // WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxisListener userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); xamlType = userType; break; case 38: // System.Collections.ObjectModel.ObservableCollection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxis> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxis>")); userType.CollectionAdd = VectorAdd_38_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 39: // System.Collections.ObjectModel.ReadOnlyCollection`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.IAxis> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_39_ReadOnlyCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 40: // Windows.UI.Xaml.Style xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 41: // WinRTXamlToolkit.Controls.DataVisualization.Charting.ResourceDictionaryCollection userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Windows.UI.Xaml.ResourceDictionary>")); userType.Activator = Activate_41_ResourceDictionaryCollection; userType.CollectionAdd = VectorAdd_41_ResourceDictionaryCollection; xamlType = userType; break; case 42: // Int32 xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 43: // WinRTXamlToolkit.Controls.DataVisualization.Charting.LineSeries userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("WinRTXamlToolkit.Controls.DataVisualization.Charting.LineAreaBaseSeries`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.LineDataPoint>")); userType.Activator = Activate_43_LineSeries; userType.AddMemberName("Points"); userType.AddMemberName("PolylineStyle"); xamlType = userType; break; case 44: // WinRTXamlToolkit.Controls.DataVisualization.Charting.LineAreaBaseSeries`1<WinRTXamlToolkit.Controls.DataVisualization.Charting.LineDataPoint> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSingleSeriesWithAxes")); userType.AddMemberName("DependentRangeAxis"); userType.AddMemberName("IndependentAxis"); userType.AddMemberName("ActualIndependentAxis"); userType.AddMemberName("ActualDependentRangeAxis"); xamlType = userType; break; case 45: // WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSingleSeriesWithAxes userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSeriesWithAxes")); userType.AddMemberName("GlobalSeriesIndex"); xamlType = userType; break; case 46: // WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSeriesWithAxes userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSeries")); xamlType = userType; break; case 47: // WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSeries userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("WinRTXamlToolkit.Controls.DataVisualization.Charting.Series")); userType.AddMemberName("IndependentValueBinding"); userType.AddMemberName("DependentValueBinding"); userType.AddMemberName("DependentValuePath"); userType.AddMemberName("IndependentValuePath"); userType.AddMemberName("ItemsSource"); userType.AddMemberName("AnimationSequence"); userType.AddMemberName("TransitionEasingFunction"); userType.AddMemberName("IsSelectionEnabled"); userType.AddMemberName("SelectedItem"); userType.AddMemberName("DataPointStyle"); userType.AddMemberName("LegendItemStyle"); userType.AddMemberName("TransitionDuration"); xamlType = userType; break; case 48: // WinRTXamlToolkit.Controls.DataVisualization.Charting.Series userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control")); userType.AddMemberName("Title"); userType.AddMemberName("SeriesHost"); userType.AddMemberName("LegendItems"); xamlType = userType; break; case 49: // Windows.UI.Xaml.Data.Binding xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 50: // Windows.UI.Xaml.Media.PointCollection xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 51: // WinRTXamlToolkit.Controls.DataVisualization.Charting.IRangeAxis userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 52: // System.Nullable`1<Int32> userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 53: // System.Collections.IEnumerable userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 54: // WinRTXamlToolkit.Controls.DataVisualization.Charting.AnimationSequence userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Simultaneous", global::WinRTXamlToolkit.Controls.DataVisualization.Charting.AnimationSequence.Simultaneous); userType.AddEnumValue("FirstToLast", global::WinRTXamlToolkit.Controls.DataVisualization.Charting.AnimationSequence.FirstToLast); userType.AddEnumValue("LastToFirst", global::WinRTXamlToolkit.Controls.DataVisualization.Charting.AnimationSequence.LastToFirst); xamlType = userType; break; case 55: // Windows.UI.Xaml.Media.Animation.EasingFunctionBase xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 56: // Boolean xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 57: // TimeSpan userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 58: // WinRTXamlToolkit.Controls.DataVisualization.Charting.ISeriesHost userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 59: // App2.Stat userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_59_Stat; userType.SetIsLocalType(); xamlType = userType; break; case 60: // App2.Tipspage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_60_Tipspage; userType.SetIsLocalType(); xamlType = userType; break; case 61: // App2.WeightIn userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_61_WeightIn; userType.SetIsLocalType(); xamlType = userType; break; case 62: // CustomLiveTiles.SmallTile userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_62_SmallTile; userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 63: // CustomLiveTiles.LargeTileFlipIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_63_LargeTileFlipIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 64: // CustomLiveTiles.WideTileFlipIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_64_WideTileFlipIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 65: // CustomLiveTiles.LargeTileIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_65_LargeTileIcon; userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("Message"); userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 66: // CustomLiveTiles.LargeTileImage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_66_LargeTileImage; userType.AddMemberName("BackgroundColor"); userType.AddMemberName("Title"); userType.AddMemberName("BackgroundImage"); userType.SetIsLocalType(); xamlType = userType; break; case 67: // CustomLiveTiles.MediumTileImage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_67_MediumTileImage; userType.AddMemberName("BackgroundColor"); userType.AddMemberName("Title"); userType.AddMemberName("BackgroundImage"); userType.SetIsLocalType(); xamlType = userType; break; case 68: // CustomLiveTiles.WideTileImage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_68_WideTileImage; userType.AddMemberName("BackgroundColor"); userType.AddMemberName("Title"); userType.AddMemberName("BackgroundImage"); userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // App2.Cali userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_Cali; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // App2.ConnectionActivity userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_ConnectionActivity; userType.SetIsLocalType(); xamlType = userType; break; case 4: // App2.GoalWeight userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_GoalWeight; userType.SetIsLocalType(); xamlType = userType; break; case 5: // App2.GoalWeight2 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_GoalWeight2; userType.SetIsLocalType(); xamlType = userType; break; case 6: // CustomLiveTiles.MediumTileIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_6_MediumTileIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundColor"); userType.AddMemberName("BackgroundIcon"); userType.SetIsLocalType(); xamlType = userType; break; case 7: // String xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // Windows.UI.Color userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 9: // System.ValueType userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 10: // Object xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 11: // Windows.UI.Xaml.Media.ImageSource xamlType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 12: // CustomLiveTiles.MediumTileFlipIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_12_MediumTileFlipIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundColor"); userType.AddMemberName("BackgroundIcon"); userType.SetIsLocalType(); xamlType = userType; break; case 13: // App2.Home userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_Home; userType.SetIsLocalType(); xamlType = userType; break; case 14: // App2.Inscription userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_Inscription; userType.SetIsLocalType(); xamlType = userType; break; case 15: // App2.LogDiet1 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_15_LogDiet1; userType.SetIsLocalType(); xamlType = userType; break; case 16: // App2.LogDiet2 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_LogDiet2; userType.SetIsLocalType(); xamlType = userType; break; case 17: // App2.LogDiet3 userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_17_LogDiet3; userType.SetIsLocalType(); xamlType = userType; break; case 18: // App2.LogDietFinal userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_LogDietFinal; userType.SetIsLocalType(); xamlType = userType; break; case 19: // App2.Tipspage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_19_Tipspage; userType.SetIsLocalType(); xamlType = userType; break; case 20: // CustomLiveTiles.SmallTile userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_20_SmallTile; userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 21: // CustomLiveTiles.LargeTileFlipIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_21_LargeTileFlipIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 22: // CustomLiveTiles.WideTileFlipIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_22_WideTileFlipIcon; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 23: // CustomLiveTiles.LargeTileIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_23_LargeTileIcon; userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("Message"); userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 24: // CustomLiveTiles.WideTileIcon userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_24_WideTileIcon; userType.AddMemberName("Title"); userType.AddMemberName("BackTitle"); userType.AddMemberName("Message"); userType.AddMemberName("BackgroundIcon"); userType.AddMemberName("BackgroundColor"); userType.SetIsLocalType(); xamlType = userType; break; case 25: // CustomLiveTiles.LargeTileImage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_25_LargeTileImage; userType.AddMemberName("BackgroundColor"); userType.AddMemberName("Title"); userType.AddMemberName("BackgroundImage"); userType.SetIsLocalType(); xamlType = userType; break; case 26: // CustomLiveTiles.MediumTileImage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_26_MediumTileImage; userType.AddMemberName("BackgroundColor"); userType.AddMemberName("Title"); userType.AddMemberName("BackgroundImage"); userType.SetIsLocalType(); xamlType = userType; break; case 27: // CustomLiveTiles.WideTileImage userType = new global::App2.App2_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_27_WideTileImage; userType.AddMemberName("BackgroundColor"); userType.AddMemberName("Title"); userType.AddMemberName("BackgroundImage"); userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }