public override void Compare(IComparison <ITransport> comparison) { _containerDiffBuilder.Compare(comparison); CompareValues(x => _entityPathResolver.PathFor(x.TargetAmount), Captions.Diff.TargetAmount, comparison); CompareValues(x => _entityPathResolver.PathFor(x.SourceAmount), Captions.Diff.SourceAmount, comparison); _objectComparer.Compare(comparison.FormulaComparison()); }
public override void Compare(IComparison <IReaction> comparison) { _containerDiffBuilder.Compare(comparison); _objectComparer.Compare(comparison.FormulaComparison()); _enumerableComparer.CompareEnumerables(comparison, x => x.Educts, item => item.Partner.Name); _enumerableComparer.CompareEnumerables(comparison, x => x.Products, item => item.Partner.Name); _enumerableComparer.CompareEnumerables(comparison, x => x.ModifierNames, item => item, missingItemType: ObjectTypes.Modifier); }
public override void Compare(IComparison <ITransportBuilder> comparison) { _containerDiffBuilder.Compare(comparison); CompareValues(x => x.SourceCriteria, x => x.SourceCriteria, comparison); CompareValues(x => x.TargetCriteria, x => x.TargetCriteria, comparison); CompareValues(x => x.Dimension, x => x.Dimension, comparison); _moleculeDependentBuilderDiffBuilder.Compare(comparison); _objectComparer.Compare(comparison.FormulaComparison()); }
public override void Compare(IComparison <IReactionBuilder> comparison) { _containerDiffBuilder.Compare(comparison); _objectComparer.Compare(comparison.FormulaComparison()); _enumerableComparer.CompareEnumerables(comparison, x => x.Educts, item => item.MoleculeName); _enumerableComparer.CompareEnumerables(comparison, x => x.Products, item => item.MoleculeName); _enumerableComparer.CompareEnumerables(comparison, x => x.ModifierNames, item => item, missingItemType: ObjectTypes.Modifier); CompareValues(x => x.ContainerCriteria, x => x.ContainerCriteria, comparison); CompareValues(x => x.Dimension, x => x.Dimension, comparison); }
public override void Compare(IComparison <IMoleculeBuilder> comparison) { _containerDiffBuilder.Compare(comparison); CompareValues(x => !x.IsFloating, Captions.Diff.Stationary, comparison); _enumerableComparerComparer.CompareEnumerables(comparison, x => x.UsedCalculationMethods, x => x.Category, missingItemType: ObjectTypes.CalculationMethod); _objectComparer.Compare(comparison.ChildComparison(x => x.DefaultStartFormula)); if (comparison.Settings.OnlyComputingRelevant) { return; } CompareValues(x => x.QuantityType, x => x.QuantityType, comparison); }
public override void Compare(IComparison <IEventGroupBuilder> comparison) { _containerDiffBuilder.Compare(comparison); CompareValues(x => x.SourceCriteria, x => x.SourceCriteria, comparison); }
public override void Compare(IComparison <IMoleculeAmount> comparison) { _quantityDiffBuilder.Compare(comparison); _containerDiffBuilder.Compare(comparison); }
public override void Compare(IComparison <INeighborhoodBase> comparison) { _containerDiffBuilder.Compare(comparison); compareNeighbors(comparison); }
public override void Compare(IComparison <IEventGroup> comparison) { _containerDiffBuilder.Compare(comparison); CompareStringValues(x => x.EventGroupType, x => x.EventGroupType, comparison); }