public bool IsSameAs(QueryModel query) { return(TargetType == query.TargetType && ResponseType == query.ResponseType && Type == query.Type); }
public QueryHandlerModel(MethodInfo methodInfo, QueryModel query) { Method = methodInfo; Query = query; }
public bool Handles(QueryModel model) { return(Query.Type == model.Type && Query.ResponseType == model.ResponseType); }
public QueryInstance(object query, QueryModel model) { Object = query; Model = model; }