예제 #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;
 }