Esempio n. 1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::App.App_XamlTypeInfo.XamlMember   xamlMember = null;
            global::App.App_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "App.Filter.Cuisines":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.Filter");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Cuisines", "System.Collections.Generic.List`1<App.Model.CuisineType>");
                xamlMember.Getter = get_0_Filter_Cuisines;
                xamlMember.SetIsReadOnly();
                break;

            case "App.RestaurantController.Restaurant":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.RestaurantController");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Restaurant", "App.Model.Restaurant");
                xamlMember.Getter = get_1_RestaurantController_Restaurant;
                xamlMember.SetIsReadOnly();
                break;

            case "App.RestaurantInfo.Restaurant":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.RestaurantInfo");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Restaurant", "App.Model.Restaurant");
                xamlMember.Getter = get_2_RestaurantInfo_Restaurant;
                xamlMember.Setter = set_2_RestaurantInfo_Restaurant;
                break;
            }
            return(xamlMember);
        }
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::App.App_XamlTypeInfo.XamlMember   xamlMember = null;
            global::App.App_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "App.ViewModels.MainViewModel.DeviceName":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.ViewModels.MainViewModel");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "DeviceName", "String");
                xamlMember.Getter = get_0_MainViewModel_DeviceName;
                xamlMember.Setter = set_0_MainViewModel_DeviceName;
                break;

            case "App.ViewModels.MainViewModel.DeviceIP":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.ViewModels.MainViewModel");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "DeviceIP", "String");
                xamlMember.Getter = get_1_MainViewModel_DeviceIP;
                xamlMember.Setter = set_1_MainViewModel_DeviceIP;
                break;

            case "App.ViewModels.MainViewModel.Status":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.ViewModels.MainViewModel");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Status", "String");
                xamlMember.Getter = get_2_MainViewModel_Status;
                xamlMember.Setter = set_2_MainViewModel_Status;
                break;

            case "App.ViewModels.MainViewModel.LastChecked":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.ViewModels.MainViewModel");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "LastChecked", "String");
                xamlMember.Getter = get_3_MainViewModel_LastChecked;
                xamlMember.Setter = set_3_MainViewModel_LastChecked;
                break;

            case "App.ViewModels.MainViewModel.CheckDoor":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.ViewModels.MainViewModel");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "CheckDoor", "MvvmAtom.AtomCommandBase");
                xamlMember.Getter = get_4_MainViewModel_CheckDoor;
                xamlMember.Setter = set_4_MainViewModel_CheckDoor;
                break;

            case "App.ViewModels.MainViewModel.SetupHub":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.ViewModels.MainViewModel");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "SetupHub", "MvvmAtom.AtomCommandBase");
                xamlMember.Getter = get_5_MainViewModel_SetupHub;
                xamlMember.Setter = set_5_MainViewModel_SetupHub;
                break;
            }
            return(xamlMember);
        }
Esempio n. 3
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::App.App_XamlTypeInfo.XamlMember   xamlMember = null;
            global::App.App_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "App.Control.FeedbackController.Feedback":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.Control.FeedbackController");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Feedback", "App.DataModel.Feedback");
                xamlMember.Getter = get_0_FeedbackController_Feedback;
                xamlMember.SetIsReadOnly();
                break;

            case "App.Control.ResultController.SearchResult":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.Control.ResultController");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "SearchResult", "App.DataModel.SearchResult");
                xamlMember.Getter = get_1_ResultController_SearchResult;
                xamlMember.SetIsReadOnly();
                break;

            case "App.View.FilterPage.Cuisines":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.View.FilterPage");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Cuisines", "System.Collections.Generic.List`1<App.DataModel.CuisineType>");
                xamlMember.Getter = get_2_FilterPage_Cuisines;
                xamlMember.SetIsReadOnly();
                break;

            case "App.Control.RestaurantController.Restaurant":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.Control.RestaurantController");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Restaurant", "App.DataModel.Restaurant");
                xamlMember.Getter = get_3_RestaurantController_Restaurant;
                xamlMember.SetIsReadOnly();
                break;

            case "App.View.MainPage.User":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.View.MainPage");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "User", "App.DataModel.Customer");
                xamlMember.Getter = get_4_MainPage_User;
                xamlMember.Setter = set_4_MainPage_User;
                break;

            case "App.View.RestaurantInfo.Restaurant":
                userType          = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.View.RestaurantInfo");
                xamlMember        = new global::App.App_XamlTypeInfo.XamlMember(this, "Restaurant", "App.DataModel.Restaurant");
                xamlMember.Getter = get_5_RestaurantInfo_Restaurant;
                xamlMember.Setter = set_5_RestaurantInfo_Restaurant;
                break;

            case "App.View.SignInDialog.Username":
                userType   = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.View.SignInDialog");
                xamlMember = new global::App.App_XamlTypeInfo.XamlMember(this, "Username", "String");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_6_SignInDialog_Username;
                xamlMember.Setter = set_6_SignInDialog_Username;
                break;

            case "App.View.SignInDialog.Password":
                userType   = (global::App.App_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App.View.SignInDialog");
                xamlMember = new global::App.App_XamlTypeInfo.XamlMember(this, "Password", "String");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_7_SignInDialog_Password;
                xamlMember.Setter = set_7_SignInDialog_Password;
                break;
            }
            return(xamlMember);
        }
Esempio n. 4
0
 private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
 {
     global::App.App_XamlTypeInfo.XamlMember xamlMember = null;
     // No Local Properties
     return(xamlMember);
 }