Skip to content

Commit

Permalink
Update ReadMe.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc authored Apr 22, 2019
1 parent 399feaa commit 178ede0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ class Program
.ConfigureServices((hostContext, services) =>
{
// mapping config json to IOption<MyConfig>
// requires "Microsoft.Extensions.Options.ConfigurationExtensions" package
services.Configure<MyConfig>(hostContext.Configuration);
})
.RunBatchEngineAsync<MyFirstBatch>(args);
Expand Down

0 comments on commit 178ede0

Please sign in to comment.