Class FtpExecutionContext
A specialized context for the IFtpCommandMiddleware.
Inherited Members
Namespace: FubarDev.FtpServer.Commands
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public class FtpExecutionContext : FtpContext
Constructors
| Improve this Doc View SourceFtpExecutionContext(FtpContext, IFtpCommandBase, CancellationToken)
Initializes a new instance of the FtpExecutionContext class.
Declaration
public FtpExecutionContext(FtpContext ftpContext, IFtpCommandBase commandHandler, CancellationToken commandAborted)
Parameters
Type | Name | Description |
---|---|---|
FtpContext | ftpContext | The FTP context. |
IFtpCommandBase | commandHandler | The FTP command handler. |
CancellationToken | commandAborted | The cancellation token signalling an aborted command. |
Properties
| Improve this Doc View SourceCommandAborted
Gets the cancellation token for an aborted command.
Declaration
public CancellationToken CommandAborted { get; }
Property Value
Type | Description |
---|---|
CancellationToken |
CommandHandler
Gets the selected command handler.
Declaration
public IFtpCommandBase CommandHandler { get; }
Property Value
Type | Description |
---|---|
IFtpCommandBase |