Exemple #1
0
 public static Title CreateTitle(string ID, global::System.DateTime dateModified, string type, BoxArt boxArt, string shortName, string name, InstantAvailability instant, DeliveryFormatAvailability dvd, DeliveryFormatAvailability bluRay, string tinyUrl, string netflixApiId)
 {
     Title title = new Title();
     title.Id = ID;
     title.DateModified = dateModified;
     title.Type = type;
     if ((boxArt == null))
     {
         throw new global::System.ArgumentNullException("boxArt");
     }
     title.BoxArt = boxArt;
     title.ShortName = shortName;
     title.Name = name;
     if ((instant == null))
     {
         throw new global::System.ArgumentNullException("instant");
     }
     title.Instant = instant;
     if ((dvd == null))
     {
         throw new global::System.ArgumentNullException("dvd");
     }
     title.Dvd = dvd;
     if ((bluRay == null))
     {
         throw new global::System.ArgumentNullException("bluRay");
     }
     title.BluRay = bluRay;
     title.TinyUrl = tinyUrl;
     title.NetflixApiId = netflixApiId;
     return title;
 }
Exemple #2
0
 partial void OnBoxArtChanging(BoxArt value);
Exemple #3
0
 public static Title CreateTitle(string ID, global::System.DateTime dateModified, DeliveryFormatAvailability bluRay, BoxArt boxArt, DeliveryFormatAvailability dvd, InstantAvailability instant)
 {
     Title title = new Title();
     title.Id = ID;
     title.DateModified = dateModified;
     if ((bluRay == null))
     {
         throw new global::System.ArgumentNullException("bluRay");
     }
     title.BluRay = bluRay;
     if ((boxArt == null))
     {
         throw new global::System.ArgumentNullException("boxArt");
     }
     title.BoxArt = boxArt;
     if ((dvd == null))
     {
         throw new global::System.ArgumentNullException("dvd");
     }
     title.Dvd = dvd;
     if ((instant == null))
     {
         throw new global::System.ArgumentNullException("instant");
     }
     title.Instant = instant;
     return title;
 }