Class ServiceFtpCommandHandlerExtensionScanner
Uses DI to get the FTP command handlers.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.CommandExtensions
Assembly: FubarDev.FtpServer.dll
Syntax
[Obsolete]
public class ServiceFtpCommandHandlerExtensionScanner : IFtpCommandHandlerExtensionScanner
Constructors
| Improve this Doc View SourceServiceFtpCommandHandlerExtensionScanner(IFtpCommandHandlerProvider, IEnumerable<IFtpCommandHandlerExtension>, Nullable<ILogger<ServiceFtpCommandHandlerScanner>>)
Initializes a new instance of the ServiceFtpCommandHandlerExtensionScanner class.
Declaration
public ServiceFtpCommandHandlerExtensionScanner(IFtpCommandHandlerProvider commandHandlerProvider, IEnumerable<IFtpCommandHandlerExtension> commandHandlerExtensions, ILogger<ServiceFtpCommandHandlerScanner>? logger = default(ILogger<ServiceFtpCommandHandlerScanner>? ))
Parameters
Type | Name | Description |
---|---|---|
IFtpCommandHandlerProvider | commandHandlerProvider | The FTP command handler provider. |
IEnumerable<IFtpCommandHandlerExtension> | commandHandlerExtensions | The FTP command handler extensions. |
Nullable<ILogger<ServiceFtpCommandHandlerScanner>> | logger | The logger. |
Methods
| Improve this Doc View SourceSearch()
Search for FTP command handler extensions.
Declaration
public IEnumerable<IFtpCommandHandlerExtensionInformation> Search()
Returns
Type | Description |
---|---|
IEnumerable<IFtpCommandHandlerExtensionInformation> | The information about the found FTP command handler extensions. |