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