Exemple #1
0
 public PledgeKey(AuctionPledge pledge)
     : this()
 {
     PledgeType = pledge.PledgeType;
     SubType    = pledge.Item.ItemName;
     Date       = pledge.Item.Date;
 }
Exemple #2
0
        internal AuctionItem(Person person, DateTime date, string auctionName, string itemName, bool includeמישברך)
        {
            Person = person;
            Date = date;
            AuctionName = auctionName;

            ItemName = itemName;
            ItemIndex = SortedOrder.IndexOf(itemName);
            Debug.Assert(ItemIndex >= 0, itemName + " is not a subtype!");

            BidPledge = new AuctionPledge(this, "Auction");
            BidPledge.PropertyChanged += (sender, e) => OnPropertyChanged("Bid" + e.PropertyName);
            if (includeמישברך) {
                MBPledge = new AuctionPledge(this, "מי שברך");
                MBPledge.PropertyChanged += (sender, e) => OnPropertyChanged("MB" + e.PropertyName);
            }
        }
Exemple #3
0
        internal AuctionItem(Person person, DateTime date, string auctionName, string itemName, bool includeמישברך)
        {
            Person      = person;
            Date        = date;
            AuctionName = auctionName;

            ItemName  = itemName;
            ItemIndex = SortedOrder.IndexOf(itemName);
            Debug.Assert(ItemIndex >= 0, itemName + " is not a subtype!");

            BidPledge = new AuctionPledge(this, "Auction");
            BidPledge.PropertyChanged += (sender, e) => OnPropertyChanged("Bid" + e.PropertyName);
            if (includeמישברך)
            {
                MBPledge = new AuctionPledge(this, "מי שברך");
                MBPledge.PropertyChanged += (sender, e) => OnPropertyChanged("MB" + e.PropertyName);
            }
        }