Example #1
0
 public override void FillWithValueOf(EFDataUnit dataUnit)
 {
     var du = dataUnit as EFDataUnitDate;
     if (du != null) DateValue = du.DateValue;
     else
     {
         throw new InvalidCastException("current dataunit is not a EFDataUnitDate");
     }
 }
Example #2
0
 public override void FillWithValueOf(EFDataUnit dataUnit)
 {
     var du = dataUnit as EFDataUnitCombo;
     if (du != null) SelectedValue = du.SelectedValue;
     else
     {
         throw new InvalidCastException("current dataunit is not a EFDataUnitCombo");
     }
 }
 public override void FillWithValueOf(EFDataUnit dataUnit)
 {
     var du = dataUnit as EFDataUnitAmount;
     if (du != null)
     {
         Amount = du.Amount;
         Ccy = du.Ccy;
     }
     else
     {
         throw new InvalidCastException("current dataunit is not a EFDataUnitAmount");
     }
 }
Example #4
0
 public abstract void FillWithValueOf(EFDataUnit dataUnit);