Class DefaultFtpCommandActivator
Default implementation of the IFtpCommandActivator.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.Commands
Assembly: FubarDev.FtpServer.dll
Syntax
public class DefaultFtpCommandActivator : IFtpCommandActivator
Constructors
| Improve this Doc View SourceDefaultFtpCommandActivator(IServiceProvider, IFtpCommandHandlerProvider, IFtpCommandHandlerExtensionProvider)
Initializes a new instance of the DefaultFtpCommandActivator class.
Declaration
public DefaultFtpCommandActivator(IServiceProvider serviceProvider, IFtpCommandHandlerProvider commandHandlerProvider, IFtpCommandHandlerExtensionProvider commandHandlerExtensionProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The service provider. |
IFtpCommandHandlerProvider | commandHandlerProvider | The provider for FTP command handlers. |
IFtpCommandHandlerExtensionProvider | commandHandlerExtensionProvider | The provider for FTP command handler extensions. |
Methods
| Improve this Doc View SourceCreate(FtpCommandHandlerContext)
Gets information about the FTP command to be executed.
Declaration
public FtpCommandSelection? Create(FtpCommandHandlerContext context)
Parameters
Type | Name | Description |
---|---|---|
FtpCommandHandlerContext | context | The FTP command execution context. |
Returns
Type | Description |
---|---|
Nullable<FtpCommandSelection> | Information about the FTP command to be executed. |