Esempio n. 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);
        }
Esempio n. 2
0
 public QueryFailedTerminationResult(QueryId queryId) : base(queryId, "n/a")
 {
     base.Message = "No Query found with this id";
 }
Esempio n. 3
0
 public QueryTerminationResult(QueryId queryId, string username)
 {
     this.QueryId  = queryId.ToString();
     this.Username = username;
 }