Table of Contents

Method DiscoverFieldsAsync

Namespace
ReportWright.Blazor.Designer
Assembly
ReportWright.Blazor.Designer.dll

DiscoverFieldsAsync(byte[], string, string?, CancellationToken)

Discovers a dataset's fields from the source, for a definition as it stands in the designer.

public virtual Task<IReadOnlyList<DesignerField>?> DiscoverFieldsAsync(byte[] rdl, string dataSetName, string? path, CancellationToken cancellationToken)

Parameters

rdl byte[]

The current definition.

dataSetName string

The dataset.

path string

The report's path, for the host's permission check, or null for an unsaved report.

cancellationToken CancellationToken

Cancels the request.

Returns

Task<IReadOnlyList<DesignerField>>

The fields, or null when the host offers no discovery.