private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Microsoft.ApplicationInsights.TelemetryClient userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_TelemetryClient; userType.AddMemberName("Context"); xamlType = userType; break; case 1: // Object xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Microsoft.ApplicationInsights.DataContracts.TelemetryContext userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 3: // NightScout.WindowsPhone.MainPage userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Windows.UI.Xaml.Controls.Page xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // NightScout.WindowsPhone.Settings userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_Settings; userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 7: // NightScoutWP.Common.NavigationHelper userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 8: // Windows.UI.Xaml.DependencyObject xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // NightScoutWP.Common.ObservableDictionary userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.DictionaryAdd = MapAdd_9_ObservableDictionary; userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 10: // String xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Microsoft.ApplicationInsights.TelemetryClient userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_TelemetryClient; userType.AddMemberName("Context"); xamlType = userType; break; case 1: // Object xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Microsoft.ApplicationInsights.DataContracts.TelemetryContext userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 3: // NightScout.WindowsPhone.MainPage userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Windows.UI.Xaml.Controls.Page xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // NightScout.WindowsPhone.Settings userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_Settings; userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 7: // NightScoutWP.Common.NavigationHelper userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 8: // Windows.UI.Xaml.DependencyObject xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // NightScoutWP.Common.ObservableDictionary userType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.DictionaryAdd = MapAdd_9_ObservableDictionary; userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 10: // String xamlType = new global::NightScout.WindowsPhone.NightScout_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }