Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

can i pass ioption to an inherited class as the poco?

$
0
0

i have this

 public SomeClass(IOptions<MyOptions> options) : base(options as BaseConfiguration)

but it won't work because it IOption of and not just the class (the base class isn't an ioption)is there a way to pass it as the class and not as ioptions?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>