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"); } }
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"); } }
public abstract void FillWithValueOf(EFDataUnit dataUnit);