Show / Hide Table of Contents

    Class DelegateServerCommandExecutor

    This IServerCommandExecutor implementation creates a compiled delegate to call the server command handlers.

    Inheritance
    Object
    DelegateServerCommandExecutor
    Implements
    IServerCommandExecutor
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.ServerCommands
    Assembly: FubarDev.FtpServer.dll
    Syntax
    public class DelegateServerCommandExecutor : IServerCommandExecutor

    Constructors

    | Improve this Doc View Source

    DelegateServerCommandExecutor(IFtpConnectionAccessor)

    Initializes a new instance of the DelegateServerCommandExecutor class.

    Declaration
    public DelegateServerCommandExecutor(IFtpConnectionAccessor ftpConnectionAccessor)
    Parameters
    Type Name Description
    IFtpConnectionAccessor ftpConnectionAccessor

    Accessor to get the FTP connection.

    Methods

    | Improve this Doc View Source

    ExecuteAsync(IServerCommand, CancellationToken)

    Execute the given server command.

    Declaration
    public Task ExecuteAsync(IServerCommand serverCommand, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IServerCommand serverCommand

    The server command to execute.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The task.

    Implements

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