Esempio n. 1
0
 private void LoadDesignData()
 {
     this.Shows = new List <OfferViewModel>()
     {
         OfferViewModel.CreateDesignTime(
             new Channel()
         {
             ChannelNumber = 101,
             CallSign      = "BBC 1",
             LogoIndex     = 65736
         },
             new Offer()
         {
             Title           = "Antiques Roadshow",
             StartTime       = DateTime.Parse("17:00"),
             DurationSeconds = 1800
         }),
         OfferViewModel.CreateDesignTime(
             new Channel()
         {
             ChannelNumber = 102,
             CallSign      = "BBC 2",
             LogoIndex     = 65738
         },
             new Offer()
         {
             Title           = "Charlie Brooker's Weekly Wipe",
             StartTime       = DateTime.Parse("17:15"),
             DurationSeconds = 3600
         }),
     };
 }
 private void LoadDesignData()
 {
     SetOffers(
         new List <OfferViewModel>
     {
         OfferViewModel.CreateDesignTime(
             new Channel()
         {
             ChannelNumber = 101,
             CallSign      = "BBC 1",
             LogoIndex     = 65736
         },
             new Offer()
         {
             Title           = "Antiques Roadshow",
             Subtitle        = "Hereford",
             StartTime       = DateTime.Parse("17:00"),
             DurationSeconds = 1800
         })
     });
 }