/// <summary> /// Returns true if the two objects can be compared by this adapter. /// Generic adapter requires objects of the specified type. /// </summary> public override bool CanCompare(object x, object y) { return(TypeHelper.CanCast <T>(x) && TypeHelper.CanCast <T>(y)); }