public Equals ( ILookupCriteria other ) : bool | ||
other | ILookupCriteria | the object to compare to |
Résultat | bool |
public bool Equals(ILookupCriteria other)
{
if (other != default(ILookupCriteria))
{
try
{
return other.Criterion.All(crit => Criterion.ContainsKey(crit.Key) && Criterion[crit.Key].Equals(crit.Value));
}
catch (Exception ex)
{
LoggingUtility.LogError(ex);
}
}
return false;
}