/// <summary>
 /// Determines whether the specified value is valid.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns><c>true</c> if the specified value is valid otherwise <c>false</c></returns>
 public override bool IsValid(object value)
 {
     return(!m_EqualToValidator.IsValid(value));
 }
 /// <summary>
 /// Determines whether the specified property value for the entity is valid.
 /// </summary>
 /// <param name="entity">The entity.</param>
 /// <param name="propertyValue">The property value.</param>
 /// <returns><c>true</c> if the specified property value for the entity is valid, otherwise <c>false</c></returns>
 public bool IsValid(object entity, object propertyValue)
 {
     return(EqualToValidator.IsValid(propertyValue, GetValueToCompare(entity), m_Comparer));
 }