/// <summary>
 /// A constuctor that makes a Comic object.
 /// </summary>
 /// <param name="title">The comics title.</param>
 /// <param name="series">The series the comic belongs to.</param>
 /// <param name="seriesNumber">The number the comic is in the series.</param>
 /// <param name="authors">The autor(s) that wrote this comic</param>
 /// <param name="publisher">The publisher that published the comic.</param>
 public DComic(string title, DSeries series, int?seriesNumber, List <DAuthor> authors, DPublisher publisher, int amountAvailable)
 {
     Title        = title;
     Series       = series;
     SeriesNumber = seriesNumber;
     Authors      = authors;
     Publisher    = publisher;
 }
Esempio n. 2
0
 /// <summary>
 /// Makes a new DSeries object from a given string.
 /// </summary>
 /// <param name="dSeries">Name of the sereis</param>
 /// <returns>A new DSereis object</returns>
 public static Series ToSeries(DSeries dSeries)
 {
     return(new Series(dSeries.Name));
 }