AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlTypeInfoProvider.CreateXamlMember C# (CSharp) Метод

CreateXamlMember() приватный Метод

private CreateXamlMember ( string longMemberName ) : global::Windows.UI.Xaml.Markup.IXamlMember
longMemberName string
Результат global::Windows.UI.Xaml.Markup.IXamlMember
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember xamlMember = null;
            global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "AthensTransit_Hackathon.innerStops.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.innerStops");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_0_innerStops_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.innerStops.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.innerStops");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_1_innerStops_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.MainLayout.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.MainLayout");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_2_MainLayout_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.MainLayout.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.MainLayout");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_3_MainLayout_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon_WP_8._1.MapBus.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon_WP_8._1.MapBus");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_4_MapBus_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon_WP_8._1.MapBus.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon_WP_8._1.MapBus");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_5_MapBus_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.metroSelection.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.metroSelection");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_6_metroSelection_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.metroSelection.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.metroSelection");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_7_metroSelection_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.RssPresenter.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.RssPresenter");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_8_RssPresenter_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.RssPresenter.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.RssPresenter");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_9_RssPresenter_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.Stops.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.Stops");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_10_Stops_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.Stops.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.Stops");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_11_Stops_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.TimeSchedule.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.TimeSchedule");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_12_TimeSchedule_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.TimeSchedule.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.TimeSchedule");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_13_TimeSchedule_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.TouristMode.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.TouristMode");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_14_TouristMode_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.TouristMode.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.TouristMode");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_15_TouristMode_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.TrafficAthens.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.TrafficAthens");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_16_TrafficAthens_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.TrafficAthens.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.TrafficAthens");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_17_TrafficAthens_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.trainSelection.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.trainSelection");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_18_trainSelection_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.trainSelection.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.trainSelection");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_19_trainSelection_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.tramSelection.NavigationHelper":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.tramSelection");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "NavigationHelper", "AthensTransit_Hackathon.Common.NavigationHelper");
                xamlMember.Getter = get_20_tramSelection_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "AthensTransit_Hackathon.tramSelection.DefaultViewModel":
                userType = (global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlUserType)GetXamlTypeByName("AthensTransit_Hackathon.tramSelection");
                xamlMember = new global::AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "AthensTransit_Hackathon.Common.ObservableDictionary");
                xamlMember.Getter = get_21_tramSelection_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            }
            return xamlMember;
        }
    }