Example #1
0
 public void ReadFrom(DataReader reader)
 {
     fRentedShowID = (RentedShowID)reader.ReadDataID("RentedShowID", RentedShowID.MaxLength,
                                                     RentedShowID.CtorString);
     fShowURL      = reader.ReadString("ShowURL", ShowURLMaxLength);
     fDataFileName = reader.ReadString("DataFileName", DataFileNameMaxLength);
 }
Example #2
0
 public void ReadFrom(DataReader reader)
 {
     fRentedShowID = (RentedShowID)reader.ReadDataID("RentedShowID", RentedShowID.MaxLength,
                                                     RentedShowID.CtorString);
     fShowURL        = reader.ReadString("ShowURL", ShowURLMaxLength);
     fDataFileName   = reader.ReadString("DataFileName", 200);
     fDownloadStatus = (DownloadStatus)Enum.Parse(typeof(DownloadStatus),
                                                  reader.ReadString("DownloadStatus", 32).Value, false);
 }
Example #3
0
 public DownloadShow FindByRentedShowID(RentedShowID rentedShowID)
 {
     foreach (DownloadShow downloadShow in this)
     {
         if (downloadShow.RentedShowID.Equals(rentedShowID))
         {
             return(downloadShow);
         }
     }
     return(null);
 }
Example #4
0
 public Show FindByRentedShowID(RentedShowID rentedShowID)
 {
     foreach (Show show in this)
     {
         if (show.RentedShowID.Equals(rentedShowID))
         {
             return(show);
         }
     }
     return(null);
 }
Example #5
0
 public bool ContainsByRentedShowID(RentedShowID rentedShowID)
 {
     return(FindByRentedShowID(rentedShowID) != null);
 }
Example #6
0
 public static Show NewInstance(RentedShowID rentedShowID)
 {
     return(new Show(rentedShowID));
 }
Example #7
0
 private Show(RentedShowID rentedShowID)
 {
     fRentedShowID = rentedShowID;
 }