Exemple #1
0
 protected override void Context()
 {
     base.Context();
     _valueOrigin1             = new ValueOrigin();
     _valueOrigin2             = new ValueOrigin();
     _valueOrigin1.Description = "Hello";
     _valueOrigin1.Source      = ValueOriginSources.Database;
     _valueOrigin1.Method      = ValueOriginDeterminationMethods.InVitro;
     _valueOrigin2.UpdateFrom(_valueOrigin1);
 }
 public void UpdateValueOriginFrom(ValueOrigin sourceValueOrigin) => ValueOrigin.UpdateFrom(sourceValueOrigin);
Exemple #3
0
 public void Edit(ValueOrigin valueOrigin)
 {
     _valueOrigin = valueOrigin;
     _valueOriginDTO.UpdateFrom(valueOrigin);
     _view.BindTo(_valueOriginDTO);
 }