IOptions<T> //站點啓動後,獲取到的值永遠不變 IOptionsSnapshot<T> //站點啓動後,每次獲取到的值都是配置文件裏的最新值 (:true 必須爲true) IOptionsMonitor<T> //站點啓動後,若是配置文件有變化會發布事件 (:true 必須爲true)reloadOnChangereloadOnChange
默認的reloadOnChange是true spa
reloadOnChange是true