Class AssemblyFtpCommandHandlerExtensionScanner
Scans the given assemblies for FTP command handlers.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.CommandExtensions
Assembly: FubarDev.FtpServer.dll
Syntax
public class AssemblyFtpCommandHandlerExtensionScanner : IFtpCommandHandlerExtensionScanner
Constructors
| Improve this Doc View SourceAssemblyFtpCommandHandlerExtensionScanner(IFtpCommandHandlerProvider, Nullable<ILogger<AssemblyFtpCommandHandlerExtensionScanner>>, Assembly[])
Initializes a new instance of the AssemblyFtpCommandHandlerExtensionScanner class.
Declaration
public AssemblyFtpCommandHandlerExtensionScanner(IFtpCommandHandlerProvider commandHandlerProvider, ILogger<AssemblyFtpCommandHandlerExtensionScanner>? logger = default(ILogger<AssemblyFtpCommandHandlerExtensionScanner>? ), params Assembly[] assemblies)
Parameters
Type | Name | Description |
---|---|---|
IFtpCommandHandlerProvider | commandHandlerProvider | The provider for the FTP commands. |
Nullable<ILogger<AssemblyFtpCommandHandlerExtensionScanner>> | logger | The logger. |
Assembly[] | assemblies | The assemblies to scan for FTP command handlers. |
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. |