public BenchmarkWizard(string benchmarkDirectory, ComponentsLibrary library, Workspace workspace, List <string> workspaceTypeDirectories, string dataRoot, TraceLab.Core.Settings.Settings settings) { m_workspace = workspace; m_componentsLibrary = library; m_dataRoot = dataRoot; m_settings = settings; BenchmarksDirectory = benchmarkDirectory; }
/// <summary> /// Sets the log level settings on the node /// </summary> /// <param name="node">The node which log level setting are set.</param> /// <param name="settings">The settings to be used to set log level.</param> protected void SetLogLevelSettings(ExperimentNode node, TraceLab.Core.Settings.Settings settings) { if (settings != null && settings.ExperimentSettings != null) { // set components log level settings according to global log level settings. foreach (TraceLab.Core.Settings.GlobalLogLevelSetting setting in settings.ExperimentSettings.GlobalLogLevelsSettings) { node.Data.Metadata.SetLogLevel(setting.Level, setting.IsEnabled, setting.IsLocked); } } node.Data.Metadata.ListenToGlobalLogLevelSettingChange(settings); }
protected virtual void InitializeComponentGraph(TraceLab.Core.Settings.Settings settings) { CompositeComponentMetadata.InitializeComponentGraph(this, settings); }