Пример #1
0
 public ColorService(ColorViewModel colorViewModel, ColorModel colorModel)
 {
     this.colorViewModel = colorViewModel;
     this.colorModel = colorModel;
 }
Пример #2
0
 public ColorViewModel()
 {
     colorModel = new ColorModel(this);
     colorService = new ColorService(this, colorModel);
 }