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

            switch (longMemberName)
            {
            case "HlsPlayer.ViewModels.Base.ViewModelLocator.MainViewModel":
                userType          = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("HlsPlayer.ViewModels.Base.ViewModelLocator");
                xamlMember        = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "MainViewModel", "HlsPlayer.ViewModels.MainViewModel");
                xamlMember.Getter = get_0_ViewModelLocator_MainViewModel;
                xamlMember.SetIsReadOnly();
                break;

            case "Microsoft.Xaml.Interactivity.Interaction.Behaviors":
                userType   = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactivity.Interaction");
                xamlMember = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "Behaviors", "Microsoft.Xaml.Interactivity.BehaviorCollection");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_1_Interaction_Behaviors;
                xamlMember.Setter = set_1_Interaction_Behaviors;
                break;

            case "HlsPlayer.Behaviors.MediaStreamSourceBehavior.Media":
                userType   = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("HlsPlayer.Behaviors.MediaStreamSourceBehavior");
                xamlMember = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "Media", "Windows.Media.Streaming.Adaptive.AdaptiveMediaSource");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_2_MediaStreamSourceBehavior_Media;
                xamlMember.Setter = set_2_MediaStreamSourceBehavior_Media;
                break;

            case "HlsPlayer.Behaviors.MediaStreamSourceBehavior.AssociatedObject":
                userType          = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("HlsPlayer.Behaviors.MediaStreamSourceBehavior");
                xamlMember        = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "AssociatedObject", "Windows.UI.Xaml.DependencyObject");
                xamlMember.Getter = get_3_MediaStreamSourceBehavior_AssociatedObject;
                xamlMember.SetIsReadOnly();
                break;
            }
            return(xamlMember);
        }
コード例 #2
0
ファイル: XamlTypeInfo.g.cs プロジェクト: rwecho/UAP-Samples
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember xamlMember = null;
            global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "HlsPlayer.ViewModels.Base.ViewModelLocator.MainViewModel":
                userType = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("HlsPlayer.ViewModels.Base.ViewModelLocator");
                xamlMember = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "MainViewModel", "HlsPlayer.ViewModels.MainViewModel");
                xamlMember.Getter = get_0_ViewModelLocator_MainViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "Microsoft.Xaml.Interactivity.Interaction.Behaviors":
                userType = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactivity.Interaction");
                xamlMember = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "Behaviors", "Microsoft.Xaml.Interactivity.BehaviorCollection");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_1_Interaction_Behaviors;
                xamlMember.Setter = set_1_Interaction_Behaviors;
                break;
            case "HlsPlayer.Behaviors.MediaStreamSourceBehavior.Media":
                userType = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("HlsPlayer.Behaviors.MediaStreamSourceBehavior");
                xamlMember = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "Media", "Windows.Media.Streaming.Adaptive.AdaptiveMediaSource");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_2_MediaStreamSourceBehavior_Media;
                xamlMember.Setter = set_2_MediaStreamSourceBehavior_Media;
                break;
            case "HlsPlayer.Behaviors.MediaStreamSourceBehavior.AssociatedObject":
                userType = (global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType)GetXamlTypeByName("HlsPlayer.Behaviors.MediaStreamSourceBehavior");
                xamlMember = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlMember(this, "AssociatedObject", "Windows.UI.Xaml.DependencyObject");
                xamlMember.Getter = get_3_MediaStreamSourceBehavior_AssociatedObject;
                xamlMember.SetIsReadOnly();
                break;
            }
            return xamlMember;
        }