Show / Hide Table of Contents

    Class ReflectionServerCommandExecutor

    This IServerCommandExecutor implementation calls the server command handler using reflection.

    Inheritance
    Object
    ReflectionServerCommandExecutor
    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 ReflectionServerCommandExecutor : IServerCommandExecutor

    Constructors

    | Improve this Doc View Source

    ReflectionServerCommandExecutor(IFtpConnectionAccessor)

    Initializes a new instance of the ReflectionServerCommandExecutor class.

    Declaration
    public ReflectionServerCommandExecutor(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.