public bool Equals(GroupMember input) { if (input == null) { return(false); } return (( MemberType == input.MemberType || (MemberType != null && MemberType.Equals(input.MemberType)) ) && ( IsOnline == input.IsOnline || (IsOnline != null && IsOnline.Equals(input.IsOnline)) ) && ( LastOnlineStatusChange == input.LastOnlineStatusChange || (LastOnlineStatusChange.Equals(input.LastOnlineStatusChange)) ) && ( GroupId == input.GroupId || (GroupId.Equals(input.GroupId)) ) && ( DestinyUserInfo == input.DestinyUserInfo || (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo)) ) && ( BungieNetUserInfo == input.BungieNetUserInfo || (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo)) ) && ( JoinDate == input.JoinDate || (JoinDate != null && JoinDate.Equals(input.JoinDate)) )); }
public bool Equals(IBookmarkedSymbol other) { return(other != null && other.Kind == Kind && other.Name == Name && (ContainingType == other.ContainingType || ContainingType != null && other.ContainingType != null && ContainingType.Equals(other.ContainingType)) && (MemberType == other.MemberType || MemberType != null && other.MemberType != null && MemberType.Equals(other.MemberType))); }
public bool Equals(MemberKey other) { return(MemberType.Equals(other.MemberType) && StringComparer.Ordinal.Equals(Name, other.Name)); }