private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // ProjekatTVP2.ViewModels.Converters.BoolToVisibilityConverter userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_BoolToVisibilityConverter; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // ProjekatTVP2.Views.HomeView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_2_HomeView; userType.SetIsLocalType(); xamlType = userType; break; case 3: // Windows.UI.Xaml.Controls.Page xamlType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // ProjekatTVP2.MainView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_MainView; userType.SetIsLocalType(); xamlType = userType; break; case 6: // ProjekatTVP2.Views.VestiView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.SetIsLocalType(); xamlType = userType; break; case 7: // ProjekatTVP2.Views.VestView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_VestView; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // ProjekatTVP2.ViewModels.Converters.BoolToVisibilityConverter userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_BoolToVisibilityConverter; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // ProjekatTVP2.Views.HomeView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_2_HomeView; userType.SetIsLocalType(); xamlType = userType; break; case 3: // Windows.UI.Xaml.Controls.Page xamlType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // ProjekatTVP2.MainView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_MainView; userType.SetIsLocalType(); xamlType = userType; break; case 6: // ProjekatTVP2.Views.VestiView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.SetIsLocalType(); xamlType = userType; break; case 7: // ProjekatTVP2.Views.VestView userType = new global::ProjekatTVP2.ProjekatTVP2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_VestView; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }