IExportProcessor Interface
Defines a service that allows you to manage an exported document during export.
Namespace: DevExpress.Blazor.Reporting.Services
Assembly: DevExpress.Blazor.Reporting.v21.2.Viewer.dll
NuGet Package: DevExpress.Blazor.Reporting.Viewer
Declaration
Remarks
The Report Viewer calls the IExportProcessor service when the document export command is executed.
The IExportProcessor methods are called in the following order:
- The GetStreamAsync method allows you to create a Stream to which the exported document data is sent.
- The FinalizeStreamAsync method is used to close the previously created stream and release resources.
- The GetExportInfoAsync method prepares data for the POST request that returns the exported document to the client.
To use a service in your application, you should register the service at application startup:
public class Startup
// ...
public void ConfigureServices(IServiceCollection services)
// ...
services.AddScoped<IExportProcessor, CustomExportProcessor>();
// ...
}
// ...
}
See Also