/// <summary> /// Requires two decimals are not equals /// </summary> /// <param name="val"></param> /// <param name="comparer"></param> /// <param name="key"></param> /// <returns></returns> public Contract <T> AreNotEquals(decimal val, double comparer, string key) => AreNotEquals(val, (decimal)comparer, key, FluntErrorMessages.AreNotEqualsErrorMessage(val.ToString(), comparer.ToString()));
/// <summary> /// Requires two decimals are not equals /// </summary> /// <param name="val"></param> /// <param name="comparer"></param> /// <param name="key"></param> /// <returns></returns> public Contract <T> AreNotEquals(int val, long comparer, string key) => AreNotEquals(val, (int)comparer, key, FluntErrorMessages.AreNotEqualsErrorMessage(val.ToString(), comparer.ToString()));
/// <summary> /// Requires two decimals are not equals /// </summary> /// <param name="val"></param> /// <param name="comparer"></param> /// <param name="key"></param> /// <returns></returns> public Contract <T> AreNotEquals(double val, float comparer, string key) => AreNotEquals(val, (double)comparer, key, FluntErrorMessages.AreNotEqualsErrorMessage(val.ToString(), comparer.ToString()));
/// <summary> /// Requires a string do not have a len /// </summary> /// <param name="val"></param> /// <param name="comparer"></param> /// <param name="key"></param> /// <param name="message"></param> /// <returns></returns> public Contract <T> AreNotEquals(string val, int comparer, string key) => AreNotEquals(val, comparer, key, FluntErrorMessages.AreNotEqualsErrorMessage(val, comparer.ToString()));
/// <summary> /// Requires two dates are not equals /// </summary> /// <param name="val">date</param> /// <param name="comparer">date</param> /// <param name="key">Key or Property Name</param> /// <returns></returns> public Contract <T> AreNotEquals(DateTime val, DateTime comparer, string key) => AreNotEquals(val, comparer, key, FluntErrorMessages.AreNotEqualsErrorMessage(val.ToString(FluntFormats.DateTimeFormat), comparer.ToString(FluntFormats.DateTimeFormat)));
/// <summary> /// Requires two dates are not equals /// </summary> /// <param name="val">date</param> /// <param name="comparer">date</param> /// <param name="key">Key or Property Name</param> /// <returns></returns> public Contract <T> AreNotEquals(TimeSpan val, TimeSpan comparer, string key) => AreNotEquals(val, comparer, key, FluntErrorMessages.AreNotEqualsErrorMessage(val.ToString(), comparer.ToString()));
/// <summary> /// Requires two objects are not equals /// </summary> /// <param name="val"></param> /// <param name="comparer"></param> /// <param name="key"></param> /// <returns></returns> public Contract <T> AreNotEquals(object val, object comparer, string key) => AreNotEquals(val, comparer, key, FluntErrorMessages.AreNotEqualsErrorMessage(val?.ToString(), comparer?.ToString()));