Table of Contents

Class DownloadOptionalQuery<TDownloadApi, TDownloadParams>

Namespace
Apizr.Optional.Requesting
Assembly
Apizr.Integrations.FileTransfer.Optional.dll

The mediation download query with a custom query parameters type

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

Type Parameters

TDownloadApi

The download api type to manage

TDownloadParams

The query parameters type

Inheritance
DownloadOptionalQuery<TDownloadApi, TDownloadParams>
Implements
IRequest<Option<FileInfo, ApizrException>>
IBaseRequest
Derived
Inherited Members

Constructors

DownloadOptionalQuery(FileInfo, TDownloadParams, Action<IApizrRequestOptionsBuilder>)

The mediation Read query constructor

public DownloadOptionalQuery(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