Beispiel #1
0
        public void SetOrderFrom(List <SetCardViewModel> existingCards)
        {
            SetCardViewModel existingCard = existingCards.FirstOrDefault(x => x._id == _id);

            if (existingCard != null)
            {
                order = existingCard.order;
            }
        }
Beispiel #2
0
 public SetCardUpdateViewModel(SetCardViewModel prototype)
 {
     actionType          = prototype.actionType;
     autocomplete        = prototype.autocomplete;
     description         = prototype.description;
     descriptionDetailed = prototype.descriptionDetailed;
     dropLimited         = prototype.dropLimited;
     dropLimit           = prototype.dropLimit;
     fragmented          = prototype.fragmented;
     fragments           = prototype.fragments;
     name                     = prototype.name;
     obtainable               = prototype.obtainable;
     order                    = prototype.order;
     rarity                   = prototype.rarity;
     rarityCardProbability    = prototype.rarityCardProbability;
     redeemable               = prototype.redeemable;
     redeemFields             = prototype.redeemFields;
     redemptionLimit          = prototype.redemptionLimit;
     redemptionSuccessMessage = prototype.redemptionSuccessMessage;
     rewardFields             = prototype.rewardFields;
 }