DownloadedFile
Namespace: E2E.Decision.Sdk
public sealed record DownloadedFile : IEquatable<DownloadedFile>A file a DownloadFunction downloaded.
Inheritance: object
Implements: IEquatable<DownloadedFile>
Constructors
Section titled “Constructors”DownloadedFile(byte[], string?)
Section titled “DownloadedFile(byte[], string?)”public DownloadedFile(byte[] Data, string? MediaType)A file a DownloadFunction downloaded.
Parameters
| Name | Type | Description |
|---|---|---|
Data |
byte[] | The bytes of the file. |
MediaType |
string | The media type of the file, when the server named one. |
Properties
Section titled “Properties”public byte[] Data { get; init; }The bytes of the file.
Value: byte[]
MediaType
Section titled “MediaType”public string? MediaType { get; init; }The media type of the file, when the server named one.
Value: string