internal GenericFluentAggregateQuery(string queryName, Search search, Environment environment, IAggregateApiRepository webSocketRepository)
 {
     _queryName           = queryName;
     _search              = search;
     _environment         = environment;
     _webSocketRepository = webSocketRepository;
 }
 internal GenericFluentAggregatesQuery(string queryName, Search search, IEnumerable <TY> aggregates, Environment environment, IAggregateApiRepository webSocketRepository)
 {
     _queryName           = queryName;
     _search              = search;
     _aggregates          = aggregates;
     _environment         = environment;
     _webSocketRepository = webSocketRepository;
 }