INNER CODE UNIT · C#
Equals
graphql-dotnet/graphql-client · src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketResponse.cs:19
public override bool Equals(object obj) => Equals(obj as GraphQLWebSocketResponse);
/// <inheritdoc />
public bool Equals(GraphQLWebSocketResponse other)
{
if (other == null)
{
return false;
}
if (ReferenceEquals(this, other))
{
return true;
}
if (!Equals(Id, other.Id))
{
return false;