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
rdlbyte[]The current definition.
dataSetNamestringThe dataset.
pathstringThe report's path, for the host's permission check, or null for an unsaved report.
cancellationTokenCancellationTokenCancels the request.
Returns
- Task<IReadOnlyList<DesignerField>>
The fields, or null when the host offers no discovery.