Table of Contents

Class DownloadQuery<TDownloadApi, TDownloadParams>

Namespace
Apizr.Mediation.Requesting
Assembly
Apizr.Integrations.FileTransfer.MediatR.dll

The mediation download query with a custom query parameters type

public class DownloadQuery<TDownloadApi, TDownloadParams> : MediationQueryBase<FileInfo, IApizrRequestOptions, IApizrRequestOptionsBuilder>, IMediationQuery<FileInfo>, IRequest<FileInfo>, IBaseRequest where TDownloadApi : IDownloadApi<TDownloadParams>

Type Parameters

TDownloadApi

The download api type to manage

TDownloadParams

The query parameters type

Inheritance
DownloadQuery<TDownloadApi, TDownloadParams>
Implements
IRequest<FileInfo>
IBaseRequest
Derived
Inherited Members

Constructors

DownloadQuery(FileInfo, TDownloadParams, Action<IApizrRequestOptionsBuilder>)

The mediation Read query constructor

public DownloadQuery(FileInfo fileInfo, TDownloadParams downloadParams, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)

Parameters

fileInfo FileInfo

Some information about the file to download

downloadParams TDownloadParams

Some custom query parameters

optionsBuilder Action<IApizrRequestOptionsBuilder>

Some request options

Properties

DownloadParams

Some custom query parameters

public TDownloadParams DownloadParams { get; }

Property Value

TDownloadParams

FileInfo

Some information about the file to download

public FileInfo FileInfo { get; }

Property Value

FileInfo