private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::TouchTest.TouchTest_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::TouchTest.TouchTest_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // TouchTest.BindConvertor userType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_BindConvertor; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // TouchTest.MainPage userType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_2_MainPage; userType.AddMemberName("PointerDictionary"); userType.AddMemberName("TempPointerDictionary"); userType.SetIsLocalType(); xamlType = userType; break; case 3: // Windows.UI.Xaml.Controls.Page xamlType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // TouchTest.ObservableDict`2<UInt32, Windows.UI.Xaml.Shapes.Polyline> userType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.Generic.Dictionary`2<UInt32, Windows.UI.Xaml.Shapes.Polyline>")); userType.DictionaryAdd = MapAdd_5_ObservableDict; userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 6: // System.Collections.Generic.Dictionary`2<UInt32, Windows.UI.Xaml.Shapes.Polyline> userType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_6_Dictionary; userType.DictionaryAdd = MapAdd_6_Dictionary; xamlType = userType; break; case 7: // Windows.UI.Xaml.Shapes.Polyline xamlType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // UInt32 xamlType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // TouchTest.SettingPage userType = new global::TouchTest.TouchTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_SettingPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }