public CompositeComparison Create() { Root.AddRange(CustomComparisons.ToArray()); Root.AddRange( DefaultComparison, new EnumComparison(), new DictionaryComparison(new DefaultComparison(), Root), new SetComparison(Root), new ListComparison(Root), ComplexObjectComparison ); return(Root); }
public ComparisonBuilder WithCustomComparison(IComparison comparison) { CustomComparisons.Add(comparison); return(this); }