Пример #1
0
        public CardViewmodel(string name, BitmapImage frontImage, BitmapImage backImage)
        {
            this.name = name;

            var imageSet = new CardImageSet()
            {
                BackImage  = backImage,
                FrontImage = frontImage,
            };

            ModelStatus = new CoveredCardViewmodelStatus(imageSet, this);
        }
Пример #2
0
 public CoveredCardViewmodelStatus(CardImageSet images,
                                   CardViewmodel statusOwner)
 {
     _statusOwner = statusOwner;
     _images      = images;
 }