Show / Hide Table of Contents

    Interface IServerCommandHandler<TCommand>

    Interface to be implemented by a server command handler.

    Namespace: FubarDev.FtpServer.ServerCommands
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IServerCommandHandler<TCommand>
    
        where TCommand : class, IServerCommand
    Type Parameters
    Name Description
    TCommand

    The server command type.

    Methods

    | Improve this Doc View Source

    ExecuteAsync(TCommand, CancellationToken)

    Executes the server command.

    Declaration
    Task ExecuteAsync(TCommand command, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    TCommand command

    The command to execute.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The task.

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