Show / Hide Table of Contents

    Class TempFileTemporaryData

    Creates a temporary file to store the data.

    Inheritance
    Object
    TempFileTemporaryData
    Implements
    ITemporaryData
    IDisposable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.BackgroundTransfer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class TempFileTemporaryData : ITemporaryData, IDisposable

    Constructors

    | Improve this Doc View Source

    TempFileTemporaryData()

    Initializes a new instance of the TempFileTemporaryData class.

    Declaration
    public TempFileTemporaryData()

    Properties

    | Improve this Doc View Source

    Size

    Declaration
    public long Size { get; }
    Property Value
    Type Description
    Int64

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    FillAsync(Stream, CancellationToken)

    Fills the temporary file with the data from the input stream.

    Declaration
    public Task FillAsync(Stream input, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Stream input

    The input stream.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    | Improve this Doc View Source

    OpenAsync()

    Declaration
    public Task<Stream> OpenAsync()
    Returns
    Type Description
    Task<Stream>

    Implements

    ITemporaryData
    System.IDisposable
    • 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.