Hi,
I"m trying to configure my options. I'm trying to use the same method in the docs, but I get the error:
Argument 2: cannot convert from 'Microsoft.Extensions.Configuration.IConfigurationSection' to 'System.Action'
My code:
```
public static IServiceCollection AddCustomOptions(this IServiceCollection services, IConfiguration configuration)
{
services.Configure
return services;
}
````
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Sorry! Realised I needed to include the package "Microsoft.Extensions.Options.ConfigurationExtensions"
Most helpful comment
Sorry! Realised I needed to include the package "Microsoft.Extensions.Options.ConfigurationExtensions"