Show / Hide Table of Contents

    Class FtpResponseLine

    Information about a line to be sent to the client.

    Inheritance
    Object
    FtpResponseLine
    Inherited Members
    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 sealed class FtpResponseLine

    Constructors

    | Improve this Doc View Source

    FtpResponseLine(Nullable<String>, Nullable<Object>)

    Initializes a new instance of the FtpResponseLine class.

    Declaration
    public FtpResponseLine(string? text, object? token)
    Parameters
    Type Name Description
    Nullable<String> text

    The text sent to the client. Set to null to indicate that no more lines will follow.

    Nullable<Object> token

    The token to be passes to the GetNextLineAsync(Nullable<Object>, CancellationToken) function to get the next line.

    Properties

    | Improve this Doc View Source

    HasMoreData

    Gets a value indicating whether there are more lines to be sent to the client.

    Declaration
    public bool HasMoreData { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    HasText

    Gets a value indicating whether the Text property contains data to be sent to the client.

    Declaration
    public bool HasText { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Text

    Gets the text to be sent to the client.

    Declaration
    public string? Text { get; }
    Property Value
    Type Description
    Nullable<String>
    Remarks

    Is null when no text should be sent to the client.

    | Improve this Doc View Source

    Token

    Gets the token to be passed to GetNextLineAsync(Nullable<Object>, CancellationToken) to get the next line.

    Declaration
    public object? Token { get; }
    Property Value
    Type Description
    Nullable<Object>

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    • 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.