コード例 #1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlMember   xamlMember = null;
            global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "CortanaSharePoint.Authentication.NavigationHelper":
                userType          = (global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("CortanaSharePoint.Authentication");
                xamlMember        = new global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlMember(this, "NavigationHelper", "CortanaSharePoint.Common.NavigationHelper");
                xamlMember.Getter = get_0_Authentication_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;

            case "CortanaSharePoint.Authentication.DefaultViewModel":
                userType          = (global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("CortanaSharePoint.Authentication");
                xamlMember        = new global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "CortanaSharePoint.Common.ObservableDictionary");
                xamlMember.Getter = get_1_Authentication_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            }
            return(xamlMember);
        }
コード例 #2
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlMember xamlMember = null;
            global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "CortanaSharePoint.Authentication.NavigationHelper":
                userType = (global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("CortanaSharePoint.Authentication");
                xamlMember = new global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlMember(this, "NavigationHelper", "CortanaSharePoint.Common.NavigationHelper");
                xamlMember.Getter = get_0_Authentication_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "CortanaSharePoint.Authentication.DefaultViewModel":
                userType = (global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("CortanaSharePoint.Authentication");
                xamlMember = new global::CortanaSharePoint.CortanaSharePoint_WindowsPhone_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "CortanaSharePoint.Common.ObservableDictionary");
                xamlMember.Getter = get_1_Authentication_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            }
            return xamlMember;
        }