HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Class TestUploadedFile<TCommand>

    An uploaded file with the app's command for testing the handlers of chunked uploads without a request, which Create<TCommand>(byte[], string, TCommand, string?) creates. Its content is in a temporary file, which is deleted when it is disposed unless the handler moved it.

    Inheritance
    object
    UploadedFile
    UploadedFile<TCommand>
    TestUploadedFile<TCommand>
    Implements
    IBindableFromHttpContext<UploadedFile>
    IBindableFromHttpContext<UploadedFile<TCommand>>
    IDisposable
    Inherited Members
    UploadedFile<TCommand>.Command
    UploadedFile.Id
    UploadedFile.FileName
    UploadedFile.Length
    UploadedFile.ContentType
    UploadedFile.FilePath
    UploadedFile.OpenReadStream()
    UploadedFile.MoveToAsync(string, CancellationToken)
    Namespace: Singulink.Net.Http.Api.Service.Testing
    Assembly: Singulink.Net.Http.Api.Service.Testing.dll
    Syntax
    public sealed class TestUploadedFile<TCommand> : UploadedFile<TCommand>, IBindableFromHttpContext<UploadedFile>, IBindableFromHttpContext<UploadedFile<TCommand>>, IDisposable
    Type Parameters
    Name Description
    TCommand

    The type of the command.

    Methods

    Name Description
    Dispose()

    Deletes the temporary file, unless it was moved.

    © Singulink. All rights reserved.