コード例 #1
0
ファイル: Magazine.cs プロジェクト: jraitter/library_abstract
 public Magazine(string title, bool checkedOut, PubType pubType, string publisher, string volume) : base(title, checkedOut, pubType)
 {
   Volume = volume;
   Publisher = publisher;
   string UUID = Guid.NewGuid().ToString();
   UPC = UUID;
 }
コード例 #2
0
 protected Publication(string title, bool checkedOut, PubType pubType)
 {
   Title = title;
   CheckedOut = checkedOut;
   PubType = pubType;
 }
コード例 #3
0
ファイル: Book.cs プロジェクト: jraitter/library_abstract
 public Book(string title, bool checkedOut, PubType pubType, string author) : base(title, checkedOut, pubType)
 {
   Author = author;
   string UUID = Guid.NewGuid().ToString();
   UPC = UUID;
 }
コード例 #4
0
 public Newspaper(string title, bool checkedOut, PubType pubType, string city, string dayOfWeek) : base(title, checkedOut, pubType)
 {
   City = city;
   DayOfWeek = dayOfWeek;
 }