/// <summary> /// Updates DataSet on resources change event /// </summary> /// <param name="arguments">event arguments</param> /// <remarks>Since this may be called on a background thread without a current correlation, /// start a new correlation if one does not already exist</remarks> protected virtual void OnResourceUpdated(ResourceUpdatedEventArgs arguments) { ULSLogging.LogTraceTag(0x23821005 /* tag_967af */, Categories.ConfigurationDataSet, Levels.Verbose, "'{0}' loader encountered an event for resources '{1}'.", typeof(T).Name, string.Join(";", arguments.Details.Select(d => d.Key))); UpdateLoadedDataSet(arguments); DataSetLoaded?.Invoke(this, EventArgs.Empty); }
/// <summary> /// Override loaded dataSet /// </summary> /// <param name="dataSet">DataSet override</param> public void OverrideLoadedDataSet(IConfigurationDataSet dataSet) { m_dataSetOverride = dataSet; DataSetLoaded?.Invoke(this, EventArgs.Empty); }