public sealed class RunicQueryCollectionOptions The cache, concurrency, initial query and model context of a RunicQueryCollection.
Constructors
RunicQueryCollectionOptions
public RunicQueryCollectionOptions() No documentation.
Fields
MaximumRangeCount
public const int MaximumRangeCount = 1000 The most rows one request reads: a page's setRange, or RunicQueryCollection.LoadAsync.
Properties
MaximumCachedPages
public int MaximumCachedPages { get; init; } The most pages the collection keeps; the least recently used leave first. 64 by default.
MaximumConcurrentLoads
public int MaximumConcurrentLoads { get; init; } The most source loads that run at once. 4 by default.
ModelContext
public IRunicModelContext? ModelContext { get; init; } The ViewModel's model context, in which the collection raises its property changes. Without one it raises them in the SynchronizationContext that was current when it was created, or else where they happen.
PageSize
public int PageSize { get; init; } The rows the collection reads from the source at once, and caches together. 100 by default; 1 to 1,000.
Query
public RunicQuery? Query { get; init; } The query the collection starts with. RunicQuery.Empty by default.