Table of Contents

Class DownloadOptionalQuery

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

The mediation download query with a dictionary query parameters type

public class DownloadOptionalQuery : DownloadOptionalQuery<IDownloadApi>, IMediationQuery<Option<FileInfo, ApizrException>>, IRequest<Option<FileInfo, ApizrException>>, IBaseRequest
Inheritance
DownloadOptionalQuery
Implements
IRequest<Option<FileInfo, ApizrException>>
IBaseRequest
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