Sisk

Class

MultipartFormCollection

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

Represents an class which hosts an multipart form data contents.

C#
public sealed class MultipartFormCollection : IReadOnlyList<MultipartObject>, IReadOnlyCollection<MultipartObject>, IEnumerable<MultipartObject>, IReadOnlyDictionary<string, MultipartObject>, IReadOnlyCollection<KeyValuePair<string, MultipartObject>>, IEnumerable<KeyValuePair<string, MultipartObject>>, IEnumerable

Inheritance #

object ← MultipartFormCollection

Implements #

IReadOnlyList<MultipartObject>, IReadOnlyCollection<MultipartObject>, IEnumerable<MultipartObject>, IReadOnlyDictionary<string, MultipartObject>, IReadOnlyCollection<KeyValuePair<string, MultipartObject>>, IEnumerable<KeyValuePair<string, MultipartObject>>, IEnumerable

Inherited Members #

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties #

NameDescription
Count
FilesGets a collection of MultipartObject instances that represent files.
Keys
Values

Methods #

NameDescription
ContainsKey(string)
GetEnumerator()
GetFile(string)Retrieves a MultipartObject instance by its file name.
GetItem(string)Gets the last form item by their name. This search is case-insensitive.
GetItems(string)Gets all form items that shares the specified name. This search is case-insensitive.
GetStringValue(string)Gets an StringValue object from the form item content string. This method reads the contents of the last matched last item with the request encoding.
ToArray()Creates an array with the MultipartObject in this collection.
TryGetValue(string, out MultipartObject)

Type to search the documentation and the API reference.