Пример #1
0
 public OddsItemViewModel(Odds odds, IMvxMessenger messenger)
 {
     IsButtonsVisible = false;
     SetAllBtnsToUnSelected();
     Messenger             = messenger;
     this.Odds             = odds;
     OutcomeClickedCommand = new MvxCommand <string>(ButtonClicked);
 }
Пример #2
0
 public Odds GetOddsByVendor(Vendor vendor)
 {
     return(Odds.FirstOrDefault(o => o.Vendor.Name.Equals(vendor.Name)));
 }