/// <summary> /// Helper function that calls OnConfigLoaded event after configuration is loaded. /// </summary> /// <param name="json"></param> /// <param name="settings"></param> private void LoadConfigFromJson(string json, JsonSerializerSettings settings) { Configuration = JsonConvert.DeserializeObject <AppConfigModel>(json, settings); OnConfigurationLoaded?.Invoke(this, new EventArgs()); }
public void DoConfigurationLoaded() { OnConfigurationLoaded?.Invoke(this, new EventArgs()); }