Show / Hide Table of Contents

    Interface ITemporaryDataFactory

    Factory for temporary data objects.

    Namespace: FubarDev.FtpServer.BackgroundTransfer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface ITemporaryDataFactory

    Methods

    | Improve this Doc View Source

    CreateAsync(Stream, Nullable<Int64>, CancellationToken)

    Creates a temporary data object for data with the expected size.

    Declaration
    Task<ITemporaryData> CreateAsync(Stream input, long? expectedSize, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Stream input

    The stream containing the data.

    Nullable<Int64> expectedSize

    The expected data size.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<ITemporaryData>

    The created temporary data object.

    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.