Table of Contents

Class DownloadOptionalQuery<TDownloadApi>

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

The mediation download query with a dictionary query parameters type

public class DownloadOptionalQuery<TDownloadApi> : DownloadOptionalQuery<TDownloadApi, IDictionary<string, object>>, IMediationQuery<Option<FileInfo, ApizrException>>, IRequest<Option<FileInfo, ApizrException>>, IBaseRequest where TDownloadApi : IDownloadApi

Type Parameters

TDownloadApi

The download api type to manage

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

Constructors

DownloadOptionalQuery(FileInfo, Action<IApizrRequestOptionsBuilder>)

The mediation Read query constructor

public DownloadOptionalQuery(FileInfo fileInfo, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)

Parameters

fileInfo FileInfo

Some information about the file to download

optionsBuilder Action<IApizrRequestOptionsBuilder>

Some request options

DownloadOptionalQuery(FileInfo, IDictionary<string, object>, Action<IApizrRequestOptionsBuilder>)

The mediation Read query constructor

public DownloadOptionalQuery(FileInfo fileInfo, IDictionary<string, object> downloadParams, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)

Parameters

fileInfo FileInfo

Some information about the file to download

downloadParams IDictionary<string, object>

Some query parameters

optionsBuilder Action<IApizrRequestOptionsBuilder>

Some request options