Skip to content

Commit

Permalink
Explicitly add Options services
Browse files Browse the repository at this point in the history
Fixes #29
  • Loading branch information
fubar-coder committed Jul 3, 2018
1 parent fe5e337 commit 472e4ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FubarDev.FtpServer/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public static IServiceCollection AddFtpServer(
this IServiceCollection services,
[NotNull] Action<IFtpServerBuilder> configure)
{
services.AddOptions();

services.AddSingleton<IFtpServer, FtpServer>();
services.AddSingleton<ITemporaryDataFactory, TemporaryDataFactory>();

Expand Down

0 comments on commit 472e4ce

Please sign in to comment.