public bool IsEquals(object?x, object?y) { if (Equals(x, y)) { return(true); } if (x == null || y == null) { return(false); } var type = x.GetType(); if (type != y.GetType()) { return(false); } var inner = SimpleEquals.BuildInner(type); return(inner.IsEquals(x, y)); }
public bool DeepEquals(RuleAction action) { return(SimpleEquals.IsEquals(this, action)); }
public bool DeepEquals(SchemaProperties properties) { return(SimpleEquals.IsEquals(this, properties)); }
public DeepEqualityComparer(IDeepComparer?comparer = null) { this.comparer = comparer ?? SimpleEquals.Build(typeof(T)); }