示例#1
0
        public IndexModel(ILogger <IndexModel> logger, IMyConfig config)
        {
            _logger = logger;

            var x = config.ReadOnlyString;

            var environment = config.Environment;

            var version = environment.Version;

            var y = config.TestDefaults;

            // y should be false.
        }
 public MyOrchestratorFunction(IOptions <MyConfig> conf)
 {
     this.Conf = conf.Value;
 }