protected ComparerResult CompareStrings(string x, string y, TextMultipleMethodsTolerance tolerance) { if (tolerance.Implementation.Invoke(x, y)) { return(ComparerResult.Equality); } else { return(new ComparerResult("different")); } }
protected ComparerResult CompareObjects(object x, object y, TextMultipleMethodsTolerance tolerance) { return(CompareStrings(x as string, y as string, tolerance)); }