Example #1
0
        public bool Equal(Object x, Object y, ColumnType type, string tolerance)
        {
            var comparer = new ComparerFactory().Get(type);
            var res      = comparer.Compare(x, y, ToleranceFactory.Instantiate(type, tolerance));

            return(res.AreEqual);
        }
        public ComparsionResult Compare <T1, T2>(T1 leftObj, T2 rightObj)
        {
            var comparer = new ComparerFactory(_configuration).Create <T1, T2>();

            return(comparer.Compare(0, leftObj, rightObj));
        }