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