示例#1
0
 public bool IsSameAs(QueryModel query)
 {
     return(TargetType == query.TargetType &&
            ResponseType == query.ResponseType &&
            Type == query.Type);
 }
示例#2
0
 public QueryHandlerModel(MethodInfo methodInfo, QueryModel query)
 {
     Method = methodInfo;
     Query  = query;
 }
示例#3
0
 public bool Handles(QueryModel model)
 {
     return(Query.Type == model.Type && Query.ResponseType == model.ResponseType);
 }
示例#4
0
 public QueryInstance(object query, QueryModel model)
 {
     Object = query;
     Model  = model;
 }