private void ActualizeConfigurationSettings(ConfigurationSettings configurationSettings, ProcessPlatform processPlatform) { //Actualize profiling target settings IProfilingTarget profilingTarget = _profilingTargets[configurationSettings.ProfilingTargetSettings.Uid]; if (profilingTarget.HasAgent) { configurationSettings.ProfilingTargetSettings.AgentDll = profilingTarget.GetAgentDll(processPlatform); } //Actualize frameworks settings foreach (FrameworkSettings frameworkSettings in configurationSettings.FrameworksSettings) { IFramework framework = _frameworks[frameworkSettings.Uid]; if (framework.HasAgent) { frameworkSettings.AgentDll = framework.GetAgentDll(processPlatform); } } //Actualize profiling types settings foreach (ProfilingTypeSettings profilingTypeSettings in configurationSettings.ProfilingTypesSettings) { IProfilingType profilingType = _profilingTypes[profilingTypeSettings.Uid]; if (profilingType.HasAgent) { profilingTypeSettings.AgentDll = profilingType.GetAgentDll(processPlatform); } profilingTypeSettings.Dependencies = profilingType.Definition.Dependencies.Select(x => x.Uid).ToArray(); profilingTypeSettings.FrameworkUid = profilingType.Definition.FrameworkUid; } }