Class ServiceFtpCommandHandlerScanner
Uses DI to get the FTP command handlers.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.Commands
Assembly: FubarDev.FtpServer.dll
Syntax
[Obsolete]
public class ServiceFtpCommandHandlerScanner : IFtpCommandHandlerScanner
Constructors
| Improve this Doc View SourceServiceFtpCommandHandlerScanner(IEnumerable<IFtpCommandHandler>, Nullable<ILogger<ServiceFtpCommandHandlerScanner>>)
Initializes a new instance of the ServiceFtpCommandHandlerScanner class.
Declaration
public ServiceFtpCommandHandlerScanner(IEnumerable<IFtpCommandHandler> commandHandlers, ILogger<ServiceFtpCommandHandlerScanner>? logger = default(ILogger<ServiceFtpCommandHandlerScanner>? ))
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IFtpCommandHandler> | commandHandlers | The FTP command handlers. |
Nullable<ILogger<ServiceFtpCommandHandlerScanner>> | logger | The logger. |
Methods
| Improve this Doc View SourceSearch()
Search for FTP command handlers.
Declaration
public IEnumerable<IFtpCommandHandlerInformation> Search()
Returns
Type | Description |
---|---|
IEnumerable<IFtpCommandHandlerInformation> | The information about the found FTP command handlers. |