コード例 #1
0
 public void SetCoverImage(Book book, string imagePath)
 {
     if (book == null)
     {
         throw new ArgumentNullException("Book cannot be null.");
     }
     book.SetCoverImage(imagePath);
 }