Struct MultipartSection
represents a multipart form section which could contain either a FormMultipartSection or a FileMultipartSection
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public readonly struct MultipartSection
Constructors
MultipartSection(FormMultipartSection?, FileMultipartSection?)
represents a multipart form section which could contain either a FormMultipartSection or a FileMultipartSection
Declaration
public MultipartSection(FormMultipartSection? form, FileMultipartSection? file)
Parameters
| Type | Name | Description |
|---|---|---|
| FormMultipartSection | form | |
| FileMultipartSection | file |
Properties
FileSection
Declaration
public FileMultipartSection? FileSection { get; }
Property Value
| Type | Description |
|---|---|
| FileMultipartSection |
FormSection
Declaration
public FormMultipartSection? FormSection { get; }
Property Value
| Type | Description |
|---|---|
| FormMultipartSection |
IsFileSection
Declaration
public bool IsFileSection { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsFormSection
Declaration
public bool IsFormSection { get; }
Property Value
| Type | Description |
|---|---|
| bool |