Class ServiceCollectionExtensions
Extension methods for IServiceCollection.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: FubarDev.FtpServer.dll
Syntax
public static class ServiceCollectionExtensions
Methods
| Improve this Doc View SourceAddFtpServer(IServiceCollection, Action<IFtpServerBuilder>)
Adds the FTP server services to the collection.
Declaration
public static IServiceCollection AddFtpServer(this IServiceCollection services, Action<IFtpServerBuilder> configure)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | The service collection to add the FTP server services to. |
| Action<IFtpServerBuilder> | configure | Configuration of the FTP server services. |
Returns
| Type | Description |
|---|---|
| IServiceCollection | The service collection. |