Source/NFX.Erlang/Types/ErlPort.cs
/// <summary>
/// Compare this instance to the IErlObject.
/// Negative value means that the value is less than obj, positive - greater than the obj
/// </summary>
Compare this instance to the IErlObject.
Negative value means that the value is less than obj, positive - greater than the obj
Compare this instance to the IErlObject . Negative value means that the value is less than obj positive - greater than the obj
public int CompareTo(IErlObject obj)
    {
      if (!(obj is ErlPort))
        return TypeOrder < obj.TypeOrder ? -1 : 1;
      var rhs = (ErlPort)obj;
      int n = Node.CompareTo(rhs.Node);
      if (n != 0) return n;
      n = Id.CompareTo(rhs.Id);
      if (n != 0) return n;
      return Creation.CompareTo(rhs.Creation);
    }
public int CompareTo ( IErlObject obj ) { if ( ! ( obj is ErlPort ) ) return TypeOrder < obj . TypeOrder ? - 1 : 1 ; var rhs = ( ErlPort ) obj ; int n = Node . CompareTo ( rhs . Node ) ; if ( n != 0 ) return n ; n = Id . CompareTo ( rhs . Id ) ; if ( n != 0 ) return n ; return Creation . CompareTo ( rhs . Creation ) ; }
Compare this instance to the IErlObject.
Compare this instance to the IErlObject .
obj
IErlObject