Class MediaService.StoredFile
A stored file to send: its path, content type and file name.
Implements
Inherited Members
Namespace: Uniform.Matrix.Server.Media
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed record MediaService.StoredFile : IEquatable<MediaService.StoredFile>
Constructors
| Edit this page View SourceStoredFile(string, string, string?)
A stored file to send: its path, content type and file name.
Declaration
public StoredFile(string Path, string ContentType, string? FileName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Path | File on disk. |
| string | ContentType | Content type to answer with. |
| string | FileName | File name given at upload, if any. |
Properties
| Edit this page View SourceContentType
Content type to answer with.
Declaration
public string ContentType { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
FileName
File name given at upload, if any.
Declaration
public string? FileName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Path
File on disk.
Declaration
public string Path { get; init; }
Property Value
| Type | Description |
|---|---|
| string |