Ejemplo n.º 1
0
 public Book()
 {
     Author = new Author();
     Edition = rand.Next();
     Pages = new List<Page>();
     Id = counter++;
 }
Ejemplo n.º 2
0
 public Book(Author author, string title)
     : this(title)
 {
     Author = author;
 }
Ejemplo n.º 3
0
 public Book(Author author, string title, string releaseDate)
     : this(title)
 {
     Author = author;
         ReleaseDate = releaseDate;
 }
Ejemplo n.º 4
0
 public AuthorViewModel(Author model)
 {
     Model = model;
     PublishedBooks = new ObservableCollection<BookViewModel>();
 }
Ejemplo n.º 5
0
 public GameCatalogue()
 {
     Author = new Author();
     Games = new List<Game>();
 }
Ejemplo n.º 6
0
 public GameCatalogue(Author author, string title)
     : this()
 {
     Author = author;
     Title = title;
 }
Ejemplo n.º 7
0
 public GameCatalogue(Author author, string title, List<Game> games)
     : this(author, title)
 {
     Games = games;
 }