Skip to content

Commit

Permalink
Update WorkflowInfo.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Jul 23, 2024
1 parent 184a38f commit 7ca9b59
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions src/netcore/Wexflow.Server/Contracts/WorkflowInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,45 +100,5 @@ public int CompareTo(object obj)
var wfi = (WorkflowInfo)obj;
return wfi.Id.CompareTo(Id);
}

public override bool Equals(object obj)
{
return ReferenceEquals(this, obj) || (obj is null ? false : throw new NotImplementedException());
}

public override int GetHashCode()
{
throw new NotImplementedException();
}

public static bool operator ==(WorkflowInfo left, WorkflowInfo right)
{
return left is null ? right is null : left.Equals(right);
}

public static bool operator !=(WorkflowInfo left, WorkflowInfo right)
{
return !(left == right);
}

public static bool operator <(WorkflowInfo left, WorkflowInfo right)
{
return left is null ? right is not null : left.CompareTo(right) < 0;
}

public static bool operator <=(WorkflowInfo left, WorkflowInfo right)
{
return left is null || left.CompareTo(right) <= 0;
}

public static bool operator >(WorkflowInfo left, WorkflowInfo right)
{
return left is not null && left.CompareTo(right) > 0;
}

public static bool operator >=(WorkflowInfo left, WorkflowInfo right)
{
return left is null ? right is null : left.CompareTo(right) >= 0;
}
}
}

0 comments on commit 7ca9b59

Please sign in to comment.