Table of Contents

Struct EnumAdapterParams<TItem>

Namespace
MVVrus.AspNetCore.ActiveSession.StdRunner
Assembly
MVVrus.AspNetCore.ActiveSession.dll

Class containg parameters that are to be passed to the EnumAdapterRunner class constructor while creating it via IActiveSession.CreateRunner method.

public record struct EnumAdapterParams<TItem> : IEquatable<EnumAdapterParams<TItem>>

Type Parameters

TItem

Type specializing the runner's IRunner<TResult> interface

Implements
Inherited Members

Constructors

EnumAdapterParams(IEnumerable<TItem>, int?, CancellationTokenSource?, int?, bool, bool, bool)

Class containg parameters that are to be passed to the EnumAdapterRunner class constructor while creating it via IActiveSession.CreateRunner method.

Properties

CompletionTokenSource
External source for a value of the CompletionToken property. If it is null (default value), a new CancellationTokenSource will be used as the source in the instance to be created.
DefaultAdvance
Default value for the first parameter (Advance) for GetRequiredAsync method of the instance to be created.
EnumAheadLimit
Maximum number of items fetched in background ahead of time in the instance to be created.
PassCtsOwnership
This value indicates will the instance to be created be responsible for disposing an external CompletionToken source if it was passed by CompletionTokenSource.
PassSourceOnership
Flag showing that the instance to be created will be responsible for disposing the Source value passed to it. The default value is true
Source
An enumerable for which the instance to be created will serve as an adapter.
StartInConstructor
Set to true to start background processing in the constructor.