public LibraryItem(ISBN isbn, string title, Category category) { Validate(new KeyValuePair <string, object>("Title", title)); _isbn = isbn; _title = title; _category = category; _copies = new ObservableConcurrentDictionary <uint, ItemCopy>(); _copies.CollectionChanged += _copies_CollectionChanged; AddCopy(); }
public Book(ISBN isbn, string name, Category category) : this(isbn, name, category, string.Empty) { }
public Book(ISBN isbn, string name, Category category, string author) : base(isbn, name, category) { Author = author; }
public Journal(ISBN isbn, string name, Category category) : this(isbn, name, category, string.Empty) { }
public Journal(ISBN isbn, string name, Category category, string editor) : base(isbn, name, category) { Editor = editor; }