Next.Dtos.InstrumentDescriptor.Equals C# (CSharp) Method

Equals() public method

public Equals ( InstrumentDescriptor other ) : bool
other InstrumentDescriptor
return bool
        public bool Equals(InstrumentDescriptor other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;
            return string.Equals(Identifier, other.Identifier) && MarketId == other.MarketId;
        }

Same methods

InstrumentDescriptor::Equals ( object obj ) : bool