Exemplo n.º 1
0
 public BroadcastInfoViewModel(BroadcastInfo model)
 {
     streamType  = model.StreamType;
     streamUrl   = model.StreamUrl;
     bitrate     = model.Bitrate;
     contentType = model.ContentType;
     yellowPage  = model.YellowPage;
     channelName = model.ChannelName;
     genre       = model.Genre;
     description = model.Description;
     comment     = model.Comment;
     contactUrl  = model.ContactUrl;
     trackTitle  = model.TrackTitle;
     trackAlbum  = model.TrackAlbum;
     trackArtist = model.TrackArtist;
     trackGenre  = model.TrackGenre;
     trackUrl    = model.TrackUrl;
 }
 public BroadcastInfoViewModel(BroadcastInfo model)
 {
   streamType  = model.StreamType;
   streamUrl   = model.StreamUrl;
   bitrate     = model.Bitrate;
   contentType = model.ContentType;
   yellowPage  = model.YellowPage;
   channelName = model.ChannelName;
   genre       = model.Genre;
   description = model.Description;
   comment     = model.Comment;
   contactUrl  = model.ContactUrl;
   trackTitle  = model.TrackTitle;
   trackAlbum  = model.TrackAlbum;
   trackArtist = model.TrackArtist;
   trackGenre  = model.TrackGenre;
   trackUrl    = model.TrackUrl;
 }