Answers for "how to dynamically load value in startup file in c#"

C#
-1

how to dynamically load value in startup file in c#

public class FooController : Controller
 {
     private IOptions<FooConfig> _config;

     public FooController(IOptions<FooConfig> config)
     {
         _config = config ?? throw new ArgumentNullException(nameof(config));
     }

     ...
 }
Posted by: Guest on June-25-2021

Code answers related to "how to dynamically load value in startup file in c#"

C# Answers by Framework

Browse Popular Code Answers by Language