/// <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());
 }
Ejemplo n.º 2
0
 public void DoConfigurationLoaded()
 {
     OnConfigurationLoaded?.Invoke(this, new EventArgs());
 }