public void ReadFrom(DataReader reader) { fRentedShowID = (RentedShowID)reader.ReadDataID("RentedShowID", RentedShowID.MaxLength, RentedShowID.CtorString); fShowURL = reader.ReadString("ShowURL", ShowURLMaxLength); fDataFileName = reader.ReadString("DataFileName", DataFileNameMaxLength); }
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); }
public DownloadShow FindByRentedShowID(RentedShowID rentedShowID) { foreach (DownloadShow downloadShow in this) { if (downloadShow.RentedShowID.Equals(rentedShowID)) { return(downloadShow); } } return(null); }
public Show FindByRentedShowID(RentedShowID rentedShowID) { foreach (Show show in this) { if (show.RentedShowID.Equals(rentedShowID)) { return(show); } } return(null); }
public bool ContainsByRentedShowID(RentedShowID rentedShowID) { return(FindByRentedShowID(rentedShowID) != null); }
public static Show NewInstance(RentedShowID rentedShowID) { return(new Show(rentedShowID)); }
private Show(RentedShowID rentedShowID) { fRentedShowID = rentedShowID; }