Skip to main content

GridDevExtremeDataSource(Func<Uri, CancellationToken, Task<Stream>>, Uri) Constructor

Initializes a new instance of the GridDevExtremeDataSource<T> class with specified URL and function that generates an HTTP request.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public GridDevExtremeDataSource(
    Func<Uri, CancellationToken, Task<Stream>> httpRequestFunc,
    Uri url
)

Parameters

Name Type Description
httpRequestFunc Func<Uri, CancellationToken, Task<Stream>>

An asynchronous function that generates an HTTP request to a service with the specified URL.

url Uri

A URL to the service’s controller action that processes HTTP requests.

Remarks

Refer to the GridDevExtremeDataSource<T> class description for more information and examples.

See Also