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