Unfortunately, the only way I know how to then hook into that dependency IOptions is in the constructor method, which we cannot override using a Custom class to hook into the partials. For example, I'd like to use the config values in a "OnTableItemCreated" partial.
Thanks korchev.. unfortunately, I wasn't able to get either to work. Using your second option, the GetService value was always null)
As a poor workaround, I setup a static variable on Startup.Custom.cs and assigned the config object to it and can then reference that directly in the Controllers.
@gabe We use the second method above to access dbcontext and configuration from radzen generated classes.
This is an example on the generated data context class .custom.cs