Exemplo n.º 1
0
        public new VideoBroadcastOptions GetOptions()
        {
            var options = new VideoBroadcastOptions();

            CopyToOptions(options);
            return(options);
        }
Exemplo n.º 2
0
 public VideoBroadcast(string id, string parentId, VideoBroadcastOptions options)
     : base(id, parentId, options)
 {
     Icon      = options.Icon;
     Region    = options.Region;
     ChannelNr = options.ChannelNr;
 }
Exemplo n.º 3
0
 public VideoBroadcast (string id, string parentId, VideoBroadcastOptions options)
     : base (id, parentId, options)
 {
     Icon = options.Icon;
     Region = options.Region;
     ChannelNr = options.ChannelNr;
 }
Exemplo n.º 4
0
        protected void CopyToOptions(VideoBroadcastOptions options)
        {
            base.CopyToOptions(options);

            options.Icon      = Icon;
            options.Region    = Region;
            options.ChannelNr = ChannelNr;
        }
Exemplo n.º 5
0
        protected void CopyToOptions (VideoBroadcastOptions options)
        {
            base.CopyToOptions (options);

            options.Icon = Icon;
            options.Region = Region;
            options.ChannelNr = ChannelNr;
        }
Exemplo n.º 6
0
 static void AssertVideoBroadcast (VideoBroadcast videoBroadcast, VideoBroadcastOptions options)
 {
     AssertVideoItem (videoBroadcast, options);
     Assert.AreEqual (videoBroadcast.Icon, options.Icon);
     Assert.AreEqual (videoBroadcast.Region, options.Region);
     Assert.AreEqual (videoBroadcast.ChannelNr, options.ChannelNr);
 }
Exemplo n.º 7
0
 static void SetVideoBroadcastOptions (VideoBroadcastOptions options)
 {
     SetVideoItemOptions (options);
     options.Icon = new Uri ("http://64");
     options.Region = "65";
     options.ChannelNr = 66;
 }
Exemplo n.º 8
0
 public void VideoBroadcastInstantiation ()
 {
     var options = new VideoBroadcastOptions ();
     SetVideoBroadcastOptions (options);
     var video_broadcast = new VideoBroadcast ("-1", "-1", options);
     AssertVideoBroadcast (video_broadcast, options);
     AssertVideoBroadcast (video_broadcast, video_broadcast.GetOptions ());
 }
Exemplo n.º 9
0
 public new VideoBroadcastOptions GetOptions ()
 {
     var options = new VideoBroadcastOptions ();
     CopyToOptions (options);
     return options;
 }