public GenericFluentEventQuery <T> EventQuery <T>(DateTime fromDate, DateTime toDate, INonSortableLimit limit, int limitCount, string queryName = "ChronologicalQuery") where T : new() { var populatedLimit = Limit.CreateLimit(limit, limitCount); return(new GenericFluentEventQuery <T>(queryName, Search.Span(fromDate, toDate), populatedLimit, this)); }
internal GenericFluentEventQuery(string queryName, Search search, Limit limit, Environment environment) : this(queryName, search, limit, environment, new EventWebSocketRepository(new WebSocketRepository(environment))) { }
internal UniqueValuesAggregate(Property property, Limit limit, TZ child) { Property = property; Limit = limit; Child = child; }
public Aggregate <T, TY, TZ> UniqueValues <TY, TZ>(Expression <Func <T, TY> > property, int take, TZ child) { var populatedLimit = Limit.CreateLimit(Limit.Take, take); return(new UniqueValuesAggregate <T, TY, TZ>(Property <TY> .Create(property), populatedLimit, child)); }
public FluentEventQuery WithLimit(Limit limit) { _limit = limit; return(this); }