Show / Hide Table of Contents

    Class FtpContext

    The context in which the command gets executed.

    Inheritance
    Object
    FtpContext
    FtpExecutionContext
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class FtpContext

    Constructors

    | Improve this Doc View Source

    FtpContext(FtpCommand, ChannelWriter<IServerCommand>, IFtpConnection)

    Initializes a new instance of the FtpContext class.

    Declaration
    public FtpContext(FtpCommand command, ChannelWriter<IServerCommand> serverCommandWriter, IFtpConnection connection)
    Parameters
    Type Name Description
    FtpCommand command

    The FTP command.

    ChannelWriter<IServerCommand> serverCommandWriter

    The FTP response writer.

    IFtpConnection connection

    The FTP connection.

    Properties

    | Improve this Doc View Source

    Command

    Gets the FTP command to be executed.

    Declaration
    public FtpCommand Command { get; }
    Property Value
    Type Description
    FtpCommand
    | Improve this Doc View Source

    Connection

    Gets the FTP connection.

    Declaration
    public IFtpConnection Connection { get; }
    Property Value
    Type Description
    IFtpConnection
    | Improve this Doc View Source

    ServerCommandWriter

    Gets the response writer.

    Declaration
    public ChannelWriter<IServerCommand> ServerCommandWriter { get; }
    Property Value
    Type Description
    ChannelWriter<IServerCommand>
    • 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.