Show / Hide Table of Contents

    Class MemoryTemporaryData

    Stores the temporary data in a memory stream.

    Inheritance
    Object
    MemoryTemporaryData
    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.FileSystem
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class MemoryTemporaryData : ITemporaryData, IDisposable
    Remarks

    This is not recommended in a production environment.

    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

    Dispose(Boolean)

    Dispose the object.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing
    true
    when called from the Dispose() function.
    | Improve this Doc View Source

    FillAsync(Stream, CancellationToken)

    Copies the stream data into the temporary data store.

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

    The data to copy.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The task.

    | 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.