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

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

            switch (typeIndex)
            {
            case 0:   //  Posta.Forms.AdministratorOpcije
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_AdministratorOpcije;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Posta.Forms.DetaljiPotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_DetaljiPotrosaca;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Posta.Forms.NaplataRacuna
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_NaplataRacuna;
                userType.AddMemberName("R");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  System.Collections.ObjectModel.ObservableCollection`1<Posta.Model.Racun>
                userType = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Posta.Model.Racun>"));
                userType.CollectionAdd = VectorAdd_5_ObservableCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 6:   //  System.Collections.ObjectModel.Collection`1<Posta.Model.Racun>
                userType               = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator     = Activate_6_Collection;
                userType.CollectionAdd = VectorAdd_6_Collection;
                xamlType               = userType;
                break;

            case 7:   //  Object
                xamlType = new global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  Posta.Model.Racun
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_8_Racun;
                userType.AddMemberName("Id");
                userType.AddMemberName("Cijena");
                userType.AddMemberName("Stanje");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  Int32
                xamlType = new global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  Boolean
                xamlType = new global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  Posta.Forms.PracenjePaketa
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_PracenjePaketa;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  Posta.Forms.PregledRacuna
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_PregledRacuna;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Posta.Forms.PretragaPotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_PretragaPotrosaca;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  Posta.Forms.RegistracijaPotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_14_RegistracijaPotrosaca;
                userType.AddMemberName("rpvm");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 15:   //  Posta.ViewModel.RegistracijaPotrosacaViewModel
                userType = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  Posta.Forms.RegistracijaUposlenika
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_16_RegistracijaUposlenika;
                userType.AddMemberName("regUpo");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 17:   //  Posta.ViewModel.RegistracijaUposlenikaViewModel
                userType = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 18:   //  Posta.Forms.FormaPostara
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_18_FormaPostara;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 19:   //  Posta.Forms.LogIn
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_19_LogIn;
                userType.AddMemberName("lvm");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 20:   //  Posta.ViewModel.LoginViewModel
                userType = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 21:   //  Posta.Forms.OpcijePotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_21_OpcijePotrosaca;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 22:   //  Posta.Forms.OpcijeSalter
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_22_OpcijeSalter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 23:   //  Posta.Forms.Shop
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_23_Shop;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 24:   //  Posta.Forms.SlanjePaketa
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_24_SlanjePaketa;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 25:   //  Posta.MainPage
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_25_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Posta.Posta_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  Posta.Forms.AdministratorOpcije
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_AdministratorOpcije;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Posta.Posta_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Posta.Forms.DetaljiPotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_DetaljiPotrosaca;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Posta.Forms.NaplataRacuna
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_NaplataRacuna;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Posta.Forms.PracenjePaketa
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_5_PracenjePaketa;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Posta.Forms.PregledRacuna
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_PregledRacuna;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Posta.Forms.PretragaPotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_7_PretragaPotrosaca;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  Posta.Forms.RegistracijaPotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_RegistracijaPotrosaca;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  Posta.Forms.RegistracijaUposlenika
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_RegistracijaUposlenika;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  Posta.Forms.FormaPostara
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_FormaPostara;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  Posta.Forms.LogIn
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_LogIn;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  Posta.Forms.OpcijePotrosaca
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_OpcijePotrosaca;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Posta.Forms.OpcijeSalter
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_OpcijeSalter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  Posta.Forms.Shop
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_14_Shop;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 15:   //  Posta.Forms.SlanjePaketa
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_15_SlanjePaketa;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  Posta.MainPage
                userType           = new global::Posta.Posta_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_16_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }