Table of Contents

Class ResourceProviderFormFile

Namespace
FoundationaLLM.Common.Models.ResourceProviders
Assembly
FoundationaLLM.Common.dll

Provides details about a file uploaded through the IFormFile mechanism from ASP.NET.

public class ResourceProviderFormFile
Inheritance
ResourceProviderFormFile
Inherited Members
Extension Methods

Properties

BinaryContent

The binary content of the file.

public required ReadOnlyMemory<byte> BinaryContent { get; set; }

Property Value

ReadOnlyMemory<byte>

ContentType

The mime content type of the file.

public required string ContentType { get; set; }

Property Value

string

FileName

The name of the file.

public required string FileName { get; set; }

Property Value

string

Payload

Additional optional parameters from the form payload.

public Dictionary<string, string>? Payload { get; set; }

Property Value

Dictionary<string, string>