Exemplo n.º 1
0
 // Constructor
 public Decorator(LibraryItem libraryItem)
 {
     this.libraryItem = libraryItem;
 }
Exemplo n.º 2
0
 // Constructor
 public Borrowable(LibraryItem libraryItem) : base(libraryItem)
 {
 }
Exemplo n.º 3
0
 public void ReturnItem(LibraryItem item, string name)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public LibraryItem MakeBorrowable(LibraryItem item)
 {
     return(new Borrowable(item));
 }
Exemplo n.º 5
0
 public LibraryItem MakeArchievable(LibraryItem item)
 {
     return(new Archiveable(item));
 }
Exemplo n.º 6
0
 public void Display(LibraryItem item)
 {
     item.Display();
 }