protected override void Context() { base.Context(); _diffItem = new PropertyValueDiffItem { Object1 = new ObjectPath(), Object2 = new ObjectPath(), CommonAncestor = _container, }; }
protected override void Context() { base.Context(); _diffItem = new PropertyValueDiffItem { Object1 = new ConstantFormula().WithName("F"), Object2 = new ConstantFormula().WithName("F"), CommonAncestor = _container, }; }
protected override void Context() { base.Context(); _diffItem = new PropertyValueDiffItem { Object1 = new ReactionPartnerBuilder("A", 2), Object2 = new ReactionPartnerBuilder("A", 1), CommonAncestor = _container, }; }
protected override void Context() { base.Context(); _diffItem = new PropertyValueDiffItem { Object1 = new ReactionPartner(2, new MoleculeAmount().WithName("A")), Object2 = new ReactionPartner(1, new MoleculeAmount().WithName("A")), CommonAncestor = _container, }; }
protected override void Context() { base.Context(); _diffItem = new PropertyValueDiffItem { Object1 = new Parameter().WithName("P1"), Object2 = new Parameter().WithName("P1"), FormattedValue1 = "xx", FormattedValue2 = "yy", CommonAncestor = _container, PropertyName = "ABC" }; }
protected override void Context() { base.Context(); _diffItem = new PropertyValueDiffItem { Object1 = new CalculationMethod { Category = "Cat", Name = "PKSim" }, Object2 = new CalculationMethod { Category = "Cat", Name = "RR" }, CommonAncestor = _container, }; }
public void Visit(PropertyValueDiffItem propertyDiffItem) { updateDiffItem(propertyDiffItem.FormattedValue1, propertyDiffItem.FormattedValue2, propertyDiffItem.PropertyName, objectNameFrom(propertyDiffItem), propertyDiffItem.CommonAncestor, itemIsMissing: false); }