We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c08118f commit db4119bCopy full SHA for db4119b
1.md
@@ -246,7 +246,7 @@ public class MyConfigureOptions : IConfigureOptions<LibraryOptions>
246
247
public void Configure(LibraryOptions options)
248
{
249
- options.Value = _service.ComputeSetting();
+ options.Setting = _service.ComputeSetting();
250
}
251
252
```
@@ -268,7 +268,7 @@ public void ConfigureServices(IServiceCollection services)
268
services.AddOptions<LibraryOptions>()
269
.Configure<ISomeService>((options, service) =>
270
271
- options.Value = service.ComputeSetting();
+ options.Setting = service.ComputeSetting();
272
});
273
274
0 commit comments