Esempio n. 1
0
        public FrameworkSettingsCollection Clone()
        {
            Dictionary <Guid, FrameworkSettings> collection = CloneSettings();
            FrameworkSettingsCollection          settings   = new FrameworkSettingsCollection(collection);

            return(settings);
        }
 public ConfigurationSettings(Guid profilingTargetUid)
 {
     ProfilingTargetSettings = new ProfilingTargetSettings(profilingTargetUid);
     FrameworksSettings      = new FrameworkSettingsCollection();
     ProfilingTypesSettings  = new ProfilingTypeSettingsCollection();
     GatewaySettings         = new GatewaySettings();
     ConfigurationUid        = Guid.NewGuid();
 }
Esempio n. 3
0
 public SessionSettings(Guid sessionUid, ProfilingTargetSettings profilingTargetSettings, FrameworkSettingsCollection frameworksSettings,
                        ProfilingTypeSettingsCollection profilingTypesSettings, GatewaySettings gatewaySettings)
     : base(sessionUid)
 {
     ProfilingTargetSettings = profilingTargetSettings;
     ProfilingTypesSettings  = profilingTypesSettings;
     FrameworksSettings      = frameworksSettings;
     GatewaySettings         = gatewaySettings;
 }
 private ConfigurationSettings(Guid configurationUid, ProfilingTargetSettings profilingTargetSettings,
                               FrameworkSettingsCollection frameworksSettings, ProfilingTypeSettingsCollection profilingTypesSettings, GatewaySettings gatewaySettings)
 {
     ProfilingTargetSettings = profilingTargetSettings;
     FrameworksSettings      = frameworksSettings;
     ProfilingTypesSettings  = profilingTypesSettings;
     GatewaySettings         = gatewaySettings;
     ConfigurationUid        = configurationUid;
 }
        public ConfigurationSettings Clone()
        {
            ProfilingTargetSettings         profilingTargetSettings = (ProfilingTargetSettings)ProfilingTargetSettings.Clone();
            FrameworkSettingsCollection     frameworksSettings      = FrameworksSettings.Clone();
            ProfilingTypeSettingsCollection profilingTypesSettings  = ProfilingTypesSettings.Clone();
            GatewaySettings gatewaySettings = (GatewaySettings)GatewaySettings.Clone();

            ConfigurationSettings settings = new ConfigurationSettings(ConfigurationUid, profilingTargetSettings,
                                                                       frameworksSettings, profilingTypesSettings, gatewaySettings);

            return(settings);
        }