public WritableOptions( string jsonFilePath, string sectionName, IOptionsMonitor <T> options, IConfigurationRoot configuration, Func <JsonSerializerOptions> defaultSerializerOptions = null) { _jsonFilePath = jsonFilePath; _sectionName = sectionName; _options = options; _configuration = configuration; _defaultSerializerOptions = defaultSerializerOptions == null?JsonFileHelper.DefaultSerializerOptions() : defaultSerializerOptions(); }