Show / Hide Table of Contents

    Class FtpResponseList

    An FTP response for lists.

    Inheritance
    Object
    FtpResponseList<IEnumerator<String>>
    FtpResponseList
    Implements
    IFtpResponse
    Inherited Members
    FtpResponseList<IEnumerator<String>>.Code
    FtpResponseList<IEnumerator<String>>.AfterWriteAction
    FtpResponseList<IEnumerator<String>>.StartMessage
    FtpResponseList<IEnumerator<String>>.EndMessage
    FtpResponseList<IEnumerator<String>>.ToString()
    FtpResponseList<IEnumerator<String>>.GetNextLineAsync(Nullable<Object>, CancellationToken)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class FtpResponseList : FtpResponseList<IEnumerator<string>>, IFtpResponse

    Constructors

    | Improve this Doc View Source

    FtpResponseList(Int32, String, String, IEnumerable<String>)

    Initializes a new instance of the FtpResponseList class.

    Declaration
    public FtpResponseList(int code, string startMessage, string endMessage, IEnumerable<string> lines)
    Parameters
    Type Name Description
    Int32 code

    The status code.

    String startMessage

    The message in the start line.

    String endMessage

    The message in the end line.

    IEnumerable<String> lines

    The lines in between (without whitespace at the beginning).

    Methods

    | Improve this Doc View Source

    CreateInitialStatusAsync(CancellationToken)

    Declaration
    protected override Task<IEnumerator<string>> CreateInitialStatusAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<IEnumerator<String>>
    Overrides
    FubarDev.FtpServer.FtpResponseList<System.Collections.Generic.IEnumerator<System.String>>.CreateInitialStatusAsync(System.Threading.CancellationToken)
    | Improve this Doc View Source

    GetNextLineAsync(IEnumerator<String>, CancellationToken)

    Declaration
    protected override Task<string? > GetNextLineAsync(IEnumerator<string> status, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IEnumerator<String> status
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Nullable<String>>
    Overrides
    FubarDev.FtpServer.FtpResponseList<System.Collections.Generic.IEnumerator<System.String>>.GetNextLineAsync(System.Collections.Generic.IEnumerator<System.String>, System.Threading.CancellationToken)

    Implements

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