Method GetValueAsync

GetValueAsync(LoadingValueOptions, int, double, CancellationToken)

Returns the value of loading

Declaration
Task<IEnumerable<ILoadingValue>> GetValueAsync(LoadingValueOptions options, int spanIndex, double position, CancellationToken cancellationToken = default)
Parameters
Type Name Description
LoadingValueOptions options

The options of a loading value

int spanIndex

The index of span

double position

The position on the span

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task<IEnumerable<ILoadingValue>>

One, two or four loading values

GetValueAsync(IEnumerable<LoadingValueOptions>, int, double, CancellationToken)

Returns the value of loading

Declaration
Task<IEnumerable<ILoadingValue>> GetValueAsync(IEnumerable<LoadingValueOptions> options, int spanIndex, double position, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<LoadingValueOptions> options

The collection of loading value options

int spanIndex

The index of span

double position

The position on the span

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task<IEnumerable<ILoadingValue>>

One, two or four loading values for each LoadingValueOptions

GetValueAsync(LoadingValueOptions, IEnumerable<(int SpanIndex, double Position)>, CancellationToken)

Returns the value of loading

Declaration
Task<IEnumerable<ILoadingValue>> GetValueAsync(LoadingValueOptions options, IEnumerable<(int SpanIndex, double Position)> positions, CancellationToken cancellationToken = default)
Parameters
Type Name Description
LoadingValueOptions options

The options of a loading value

IEnumerable<(int SpanIndex, double Position)> positions

The collection of positions on the member

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task<IEnumerable<ILoadingValue>>

One, two or four loading values for each position

GetValueAsync(IEnumerable<LoadingValueOptions>, IEnumerable<(int SpanIndex, double Position)>, CancellationToken)

Returns the value of loading

Declaration
Task<IEnumerable<ILoadingValue>> GetValueAsync(IEnumerable<LoadingValueOptions> options, IEnumerable<(int SpanIndex, double Position)> positions, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<LoadingValueOptions> options

The collection of loading value options

IEnumerable<(int SpanIndex, double Position)> positions

The collection of positions on the member

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task<IEnumerable<ILoadingValue>>

One, two or four loading values for each LoadingValueOptions on each position

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next