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