private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CanvasMovement.MainPage userType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.AddMemberName("accelerometer"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Windows.Devices.Sensors.Accelerometer userType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // Object xamlType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CanvasMovement.MainPage userType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.AddMemberName("accelerometer"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Windows.Devices.Sensors.Accelerometer userType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // Object xamlType = new global::CanvasMovement.CanvasMovement_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }