public DinosaurViewModel(Dinosaur model)
 {
     this.model = model;
     this.image = model
                  .GetBitmap()
                  .ToProperty(this, x => x.Image);
 }
Exemple #2
0
 public DinosaurViewModel(
     Dinosaur model,
     IScreen hostScreen)
 {
     this.model      = model;
     this.hostScreen = hostScreen;
     this.image      = model
                       .GetBitmap()
                       .ToProperty(this, x => x.Image);
 }