Esempio n. 1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Contacts.Contacts_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  Contacts.MainPage
                userType           = new global::Contacts.Contacts_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::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Esempio n. 2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Contacts.Contacts_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  Contacts.ViewModels.Base.ViewModelLocator
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_ViewModelLocator;
                userType.AddMemberName("AddContactViewModel");
                userType.AddMemberName("ContactsViewModel");
                userType.AddMemberName("ContactChangesViewModel");
                userType.AddMemberName("PickViewModel");
                userType.AddMemberName("ShellViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Contacts.ViewModels.AddContactViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  Contacts.ViewModels.Base.ViewModelBase
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Contacts.ViewModels.ContactsViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Contacts.ViewModels.ContactChangesViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Contacts.ViewModels.PickViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Contacts.ViewModels.ShellViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  Windows.UI.Color
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.AddMemberName("A");
                userType.AddMemberName("B");
                userType.AddMemberName("G");
                userType.AddMemberName("R");
                xamlType = userType;
                break;

            case 9:   //  System.ValueType
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                xamlType = userType;
                break;

            case 10:   //  Byte
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 11:   //  Contacts.Converters.ToUpperCaseConverter
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_11_ToUpperCaseConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  Contacts.Views.Base.PageBase
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_PageBase;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 15:   //  Contacts.Views.AddContact
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_15_AddContact;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  Contacts.Views.ContactChangesView
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_16_ContactChangesView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 17:   //  Contacts.Views.ContactsView
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_17_ContactsView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 18:   //  Contacts.Views.PickView
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_18_PickView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 19:   //  Contacts.Behaviors.ItemClickCommandBehavior
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Command");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 20:   //  System.Windows.Input.ICommand
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, null);
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 21:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 22:   //  Contacts.Views.ShellView
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_22_ShellView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Esempio n. 3
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Contacts.Contacts_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  Contacts.ViewModels.Base.ViewModelLocator
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_ViewModelLocator;
                userType.AddMemberName("AddContactViewModel");
                userType.AddMemberName("ContactsViewModel");
                userType.AddMemberName("ContactChangesViewModel");
                userType.AddMemberName("PickViewModel");
                userType.AddMemberName("ShellViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Contacts.ViewModels.AddContactViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  Contacts.ViewModels.Base.ViewModelBase
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Contacts.ViewModels.ContactsViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Contacts.ViewModels.ContactChangesViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Contacts.ViewModels.PickViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Contacts.ViewModels.ShellViewModel
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  Windows.UI.Color
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.AddMemberName("A");
                userType.AddMemberName("B");
                userType.AddMemberName("G");
                userType.AddMemberName("R");
                xamlType = userType;
                break;

            case 9:   //  System.ValueType
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                xamlType = userType;
                break;

            case 10:   //  Byte
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 11:   //  Contacts.Converters.ToUpperCaseConverter
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_11_ToUpperCaseConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  Contacts.Views.Base.PageBase
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_PageBase;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 15:   //  Contacts.Views.AddContact
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_15_AddContact;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  Contacts.Views.ContactChangesView
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_16_ContactChangesView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 17:   //  Contacts.Views.ContactsView
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_17_ContactsView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 18:   //  Contacts.Views.PickView
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_18_PickView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 19:   //  Contacts.Behaviors.ItemClickCommandBehavior
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Command");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 20:   //  System.Windows.Input.ICommand
                userType = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, null);
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 21:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::Contacts.Contacts_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 22:   //  Contacts.Views.ShellView
                userType           = new global::Contacts.Contacts_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Contacts.Views.Base.PageBase"));
                userType.Activator = Activate_22_ShellView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }