public ConfigurationSettings(Guid profilingTargetUid)
 {
     ProfilingTargetSettings = new ProfilingTargetSettings(profilingTargetUid);
     FrameworksSettings      = new FrameworkSettingsCollection();
     ProfilingTypesSettings  = new ProfilingTypeSettingsCollection();
     GatewaySettings         = new GatewaySettings();
     ConfigurationUid        = Guid.NewGuid();
 }
Beispiel #2
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);
        }
Beispiel #5
0
 public override void Validate()
 {
     FrameworksSettings.Validate();
     ProfilingTypesSettings.Validate();
     GatewaySettings.Validate();
 }
        public override DynamicSettings Clone()
        {
            GatewaySettings settings = new GatewaySettings(CloneProperties());

            return(settings);
        }