Class FileResult
- Namespace
- PommaLabs.Thumbnailer.Client.Models.Results
- Assembly
- PommaLabs.Thumbnailer.Client.dll
Represents a file generated as the result of a Thumbnailer operation.
public sealed class FileResult
- Inheritance
-
FileResult
- Inherited Members
Constructors
FileResult(byte[], string?)
Represents a file generated as the result of a Thumbnailer operation.
public FileResult(byte[] contents, string? imagePlaceholder)
Parameters
contents
byte[]File bytes.
imagePlaceholder
stringA very compact representation of a placeholder for an image, if requested and available.
Properties
Contents
File bytes.
public byte[] Contents { get; }
Property Value
- byte[]
ImagePlaceholder
A very compact representation of a placeholder for an image, if requested and available.
public string? ImagePlaceholder { get; }