SHARE
TWEET

Untitled

a guest Apr 18th, 2014 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class BookViewModel : ViewModelBase
  2.     {
  3.         private readonly Book _book;
  4.  
  5.         public BookViewModel(Book book)
  6.         {
  7.             this._book = book;
  8.         }
  9.         public string Title
  10.         {
  11.             get { return _book.Title; }
  12.         }
  13.  
  14.         public string Author
  15.         {
  16.             get { return _book.Author; }
  17.         }
  18.  
  19.         public int Count
  20.         {
  21.             get { return _book.Count;}
  22.         }
  23.  
  24.         public double Price
  25.         {
  26.             get { return _book.Price; }
  27.         }
  28.  
  29.         public string Publisher
  30.         {
  31.             get { return _book.Publisher; }
  32.         }
  33.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top