private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // NewEventMaker.VM.EventViewModel userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_EventViewModel; userType.AddMemberName("SelectEventCommand"); userType.AddMemberName("EventCatalog"); userType.AddMemberName("DeleteEventCommand"); userType.AddMemberName("Name"); userType.AddMemberName("Description"); userType.AddMemberName("Place"); userType.AddMemberName("Date"); userType.AddMemberName("Time"); userType.AddMemberName("EHandler"); userType.AddMemberName("CreateEventCommand"); userType.AddMemberName("NavigateEventPageCommand"); userType.AddMemberName("NavigateEventCreateCommand"); userType.AddMemberName("LoadEventsCommand"); userType.AddMemberName("Id"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // System.Windows.Input.ICommand userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 3: // NewEventMaker.Model.EventCatalogSingleton userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 4: // String xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // System.DateTimeOffset userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // System.ValueType userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 7: // TimeSpan userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 8: // NewEventMaker.Handler.EventHandler userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 9: // Int32 xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 10: // NewEventMaker.View.CreateEventPage userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_CreateEventPage; userType.SetIsLocalType(); xamlType = userType; break; case 11: // Windows.UI.Xaml.Controls.Page xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 12: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 13: // Microsoft.Xaml.Interactivity.Interaction userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Behaviors"); xamlType = userType; break; case 14: // Microsoft.Xaml.Interactivity.BehaviorCollection userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection")); userType.CollectionAdd = VectorAdd_14_BehaviorCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 15: // Windows.UI.Xaml.DependencyObjectCollection xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 16: // Windows.UI.Xaml.DependencyObject xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 17: // Microsoft.Xaml.Interactions.Core.EventTriggerBehavior userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_17_EventTriggerBehavior; userType.SetContentPropertyName("Microsoft.Xaml.Interactions.Core.EventTriggerBehavior.Actions"); userType.AddMemberName("Actions"); userType.AddMemberName("EventName"); userType.AddMemberName("SourceObject"); userType.AddMemberName("AssociatedObject"); xamlType = userType; break; case 18: // Microsoft.Xaml.Interactivity.ActionCollection userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection")); userType.CollectionAdd = VectorAdd_18_ActionCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 19: // Microsoft.Xaml.Interactions.Core.InvokeCommandAction userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_19_InvokeCommandAction; userType.AddMemberName("Command"); userType.AddMemberName("CommandParameter"); userType.AddMemberName("InputConverter"); userType.AddMemberName("InputConverterParameter"); userType.AddMemberName("InputConverterLanguage"); xamlType = userType; break; case 20: // Windows.UI.Xaml.Data.IValueConverter xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 21: // NewEventMaker.View.EventPage userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_21_EventPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // NewEventMaker.VM.EventViewModel userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_EventViewModel; userType.AddMemberName("SelectEventCommand"); userType.AddMemberName("EventCatalog"); userType.AddMemberName("UpdateCommand"); userType.AddMemberName("DeleteEventCommand"); userType.AddMemberName("SelectedEvent"); userType.AddMemberName("Name"); userType.AddMemberName("Description"); userType.AddMemberName("Place"); userType.AddMemberName("Date"); userType.AddMemberName("Time"); userType.AddMemberName("EHandler"); userType.AddMemberName("CreateEventCommand"); userType.AddMemberName("NavigateEventPageCommand"); userType.AddMemberName("NavigateEventCreateCommand"); userType.AddMemberName("LoadEventsCommand"); userType.AddMemberName("Id"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // System.Windows.Input.ICommand userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 3: // NewEventMaker.Model.EventCatalogSingleton userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 4: // NewEventMaker.Model.Event userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 5: // String xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // System.DateTimeOffset userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 7: // System.ValueType userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 8: // TimeSpan userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 9: // NewEventMaker.Handler.EventHandler userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 10: // Int32 xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 11: // NewEventMaker.View.CreateEventPage userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_11_CreateEventPage; userType.SetIsLocalType(); xamlType = userType; break; case 12: // Windows.UI.Xaml.Controls.Page xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 13: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 14: // NewEventMaker.View.EventPage userType = new global::NewEventMaker.NewEventMaker_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_EventPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }