コード例 #1
0
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }
            if (o == null || this.GetType() != o.GetType())
            {
                return(false);
            }

            QueryId other = ( QueryId )o;

            return(_kernelQueryId == other._kernelQueryId);
        }
コード例 #2
0
 public QueryFailedTerminationResult(QueryId queryId) : base(queryId, "n/a")
 {
     base.Message = "No Query found with this id";
 }
コード例 #3
0
 public QueryTerminationResult(QueryId queryId, string username)
 {
     this.QueryId  = queryId.ToString();
     this.Username = username;
 }