public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } LocalOperationId that = ( LocalOperationId )o; if (_localSessionId != that._localSessionId) { return(false); } return(_sequenceNumber == that._sequenceNumber); }
public OperationContext(GlobalSession globalSession, LocalOperationId localOperationId, LocalSession localSession) { this._globalSession = globalSession; this._localOperationId = localOperationId; this._localSession = localSession; }