예제 #1
0
파일: wewwew.cs 프로젝트: amrender/Refresh
 public EditPriceViewModel(IMarketDataObject model, IYieldCurve yieldCurve)
 {
     _yieldCurve = yieldCurve;
     if (model == null)
     {
         throw new Exception("Bond passed in is null");
     }
     _bond       = (IBondModel)model;
     _cleanPrice = new QuarkPrice();
 }
예제 #2
0
파일: wewwew.cs 프로젝트: amrender/Refresh
 public EditPriceViewModel(IMarketDataObject model, IYieldCurve yieldCurve)
 {
     _yieldCurve = yieldCurve;
     if (model == null)
     {
         throw new Exception("Bond passed in is null");
     }
     _bond = (IBondModel)model;
     _cleanPrice = new QuarkPrice();
     
 }