chore: Remove unused code
This commit is contained in:
1 parent
ff65a5ca5b
commit
d826cff9d7
1 file changed
-25
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace bts.api.orderman {
|
||||
public readonly struct FillSecurity : IEquatable<FillSecurity> {
|
||||
public FillSecurity(SecurityImmutable? sec, FillImmutable fill) {
|
||||
this.sec = sec;
|
||||
this.fill = fill;
|
||||
}
|
||||
public FillSecurity((SecurityImmutable? sec, FillImmutable fill) t) {
|
||||
sec = t.sec;
|
||||
fill = t.fill;
|
||||
}
|
||||
public static implicit operator FillSecurity(ValueTuple<SecurityImmutable?, FillImmutable> x) => new FillSecurity(x);
|
||||
public SecurityImmutable? sec { get; }
|
||||
public FillImmutable fill { get; }
|
||||
|
||||
public override bool Equals(object obj) => (obj is FillSecurity os) && Equals(os);
|
||||
public bool Equals(FillSecurity other) => fill.FillKey == other.fill.FillKey && sec == other.sec;
|
||||
public override int GetHashCode() => (sec, fill).GetHashCode();
|
||||
|
||||
public static bool operator ==(FillSecurity left, FillSecurity right) => left.Equals(right);
|
||||
public static bool operator !=(FillSecurity left, FillSecurity right) => !left.Equals(right);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user