private void Update_ViewModel_Source(global::Windows.Media.Playback.IMediaPlaybackSource obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED | DATA_CHANGED)) != 0)
     {
         // Views\MediaPlayerPage.xaml line 11
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_MediaPlayerElement_Source(this.obj2, obj, null);
     }
 }
Esempio n. 2
0
 private void Update_ViewModel_Source(global::Windows.Media.Playback.IMediaPlaybackSource obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // Views\Entertainment\MediaPlayerPage.xaml line 12
         if (!isobj2SourceDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_MediaPlayerElement_Source(this.obj2, obj, null);
         }
     }
 }
Esempio n. 3
0
 public static void Set_Windows_UI_Xaml_Controls_MediaPlayerElement_Source(global::Windows.UI.Xaml.Controls.MediaPlayerElement obj, global::Windows.Media.Playback.IMediaPlaybackSource value, string targetNullValue)
 {
     if (value == null && targetNullValue != null)
     {
         value = (global::Windows.Media.Playback.IMediaPlaybackSource)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::Windows.Media.Playback.IMediaPlaybackSource), targetNullValue);
     }
     obj.Source = value;
 }