コード例 #1
0
        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);
        }
コード例 #2
0
 public OperationContext(GlobalSession globalSession, LocalOperationId localOperationId, LocalSession localSession)
 {
     this._globalSession    = globalSession;
     this._localOperationId = localOperationId;
     this._localSession     = localSession;
 }