public override bool Equals(object obj) { bool result = false; try { if (obj != null) { ParticipantsEntity entity = obj as ParticipantsEntity; if (!string.IsNullOrEmpty(entity.LoginUri) && !string.IsNullOrEmpty(this.LoginUri)) { if (entity.LoginUri.Equals(this.LoginUri)) { result = true; } } } } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } finally { } return(result); }
public override bool Equals(object obj) { bool result = false; ParticipantsEntity entity = obj as ParticipantsEntity; if (entity.LoginUri.Equals(this.LoginUri)) { result = true; } return(result); }