private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CubeGimmick.DisplaySide userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_DisplaySide; userType.AddMemberName("Device"); userType.AddMemberName("Side"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // MetaWear.Windows.API.MWBoard userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Name"); userType.AddMemberName("NotificationsEnabled"); xamlType = userType; break; case 4: // Object xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // String xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // CubeGimmick.MainPage userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_MainPage; userType.AddMemberName("Devices"); userType.AddMemberName("Side"); userType.AddMemberName("Loading"); userType.AddMemberName("LoadingVisability"); userType.SetIsLocalType(); xamlType = userType; break; case 7: // System.Collections.Generic.List`1<MetaWear.Windows.API.MWBoard> userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_7_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 8: // Boolean xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // Windows.UI.Xaml.Visibility xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CubeGimmick.DisplaySide userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_DisplaySide; userType.AddMemberName("Device"); userType.AddMemberName("Side"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // MetaWear.Windows.API.MWBoard userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Name"); userType.AddMemberName("NotificationsEnabled"); xamlType = userType; break; case 4: // Object xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // String xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // CubeGimmick.MainPage userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_MainPage; userType.AddMemberName("Devices"); userType.AddMemberName("Side"); userType.AddMemberName("Loading"); userType.AddMemberName("LoadingVisability"); userType.SetIsLocalType(); xamlType = userType; break; case 7: // System.Collections.Generic.List`1<MetaWear.Windows.API.MWBoard> userType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_7_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 8: // Boolean xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // Windows.UI.Xaml.Visibility xamlType = new global::CubeGimmick.CubeGimmick_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }