50 references to ConfigurationStrings
System.ServiceModel.Activities (50)
System\ServiceModel\Activities\Configuration\ChannelSettingsElement.cs (14)
22[ConfigurationProperty(ConfigurationStrings.IdleTimeout, DefaultValue = ChannelCacheDefaults.DefaultIdleTimeoutString)] 24[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 27get { return (TimeSpan)base[ConfigurationStrings.IdleTimeout]; } 28set { base[ConfigurationStrings.IdleTimeout] = value; } 31[ConfigurationProperty(ConfigurationStrings.LeaseTimeout, DefaultValue = ChannelCacheDefaults.DefaultChannelLeaseTimeoutString)] 33[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 36get { return (TimeSpan)base[ConfigurationStrings.LeaseTimeout]; } 37set { base[ConfigurationStrings.LeaseTimeout] = value; } 40[ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, DefaultValue = ChannelCacheDefaults.DefaultMaxItemsPerCacheString)] 44get { return (int)base[ConfigurationStrings.MaxItemsInCache]; } 45set { base[ConfigurationStrings.MaxItemsInCache] = value; } 55properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, typeof(System.Int32), ChannelCacheDefaults.DefaultMaxItemsPerCache, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 56properties.Add(new ConfigurationProperty(ConfigurationStrings.IdleTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultIdleTimeout, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 57properties.Add(new ConfigurationProperty(ConfigurationStrings.LeaseTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultFactoryLeaseTimeoutString, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\ConfigurationStrings.cs (3)
12return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); 17get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.WorkflowHostingOptionsSectionName); }
System\ServiceModel\Activities\Configuration\FactorySettingsElement.cs (14)
22[ConfigurationProperty(ConfigurationStrings.IdleTimeout, DefaultValue = ChannelCacheDefaults.DefaultIdleTimeoutString)] 24[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 27get { return (TimeSpan)base[ConfigurationStrings.IdleTimeout]; } 28set { base[ConfigurationStrings.IdleTimeout] = value; } 31[ConfigurationProperty(ConfigurationStrings.LeaseTimeout, DefaultValue = ChannelCacheDefaults.DefaultFactoryLeaseTimeoutString)] 33[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 36get { return (TimeSpan)base[ConfigurationStrings.LeaseTimeout]; } 37set { base[ConfigurationStrings.LeaseTimeout] = value; } 40[ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, DefaultValue = ChannelCacheDefaults.DefaultMaxItemsPerCacheString)] 44get { return (int)base[ConfigurationStrings.MaxItemsInCache]; } 45set { base[ConfigurationStrings.MaxItemsInCache] = value; } 55properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, typeof(System.Int32), ChannelCacheDefaults.DefaultMaxItemsPerCache, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 56properties.Add(new ConfigurationProperty(ConfigurationStrings.IdleTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultIdleTimeout, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 57properties.Add(new ConfigurationProperty(ConfigurationStrings.LeaseTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultChannelLeaseTimeoutString, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\SendMessageChannelCacheElement.cs (10)
22[ConfigurationProperty(ConfigurationStrings.AllowUnsafeCaching, DefaultValue = ChannelCacheDefaults.DefaultAllowUnsafeSharing)] 25get { return (bool)base[ConfigurationStrings.AllowUnsafeCaching]; } 26set { base[ConfigurationStrings.AllowUnsafeCaching] = value; } 29[ConfigurationProperty(ConfigurationStrings.FactorySettings)] 32get { return (FactorySettingsElement)base[ConfigurationStrings.FactorySettings]; } 35[ConfigurationProperty(ConfigurationStrings.ChannelSettings)] 38get { return (ChannelSettingsElement)base[ConfigurationStrings.ChannelSettings]; } 54properties.Add(new ConfigurationProperty(ConfigurationStrings.AllowUnsafeCaching, typeof(bool), ChannelCacheDefaults.DefaultAllowUnsafeSharing)); 55properties.Add(new ConfigurationProperty(ConfigurationStrings.FactorySettings, typeof(FactorySettingsElement))); 56properties.Add(new ConfigurationProperty(ConfigurationStrings.ChannelSettings, typeof(ChannelSettingsElement)));
System\ServiceModel\Activities\Configuration\ServiceModelActivitiesSectionGroup.cs (2)
14get { return (WorkflowHostingOptionsSection)this.Sections[ConfigurationStrings.WorkflowHostingOptionsSectionName]; } 24return (ServiceModelActivitiesSectionGroup)config.SectionGroups[ConfigurationStrings.SectionGroupName];
System\ServiceModel\Activities\Configuration\WorkflowHostingOptionsSection.cs (4)
19[ConfigurationProperty(ConfigurationStrings.OverrideSiteName, DefaultValue = "false")] 22get { return (bool)base[ConfigurationStrings.OverrideSiteName]; } 23set { base[ConfigurationStrings.OverrideSiteName] = value; } 28WorkflowHostingOptionsSection retval = (WorkflowHostingOptionsSection)ConfigurationManager.GetSection(ConfigurationStrings.WorkflowHostingOptionsSectionPath);
System\ServiceModel\Activities\Configuration\WorkflowIdleElement.cs (2)
26[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 35[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
675WorkflowHostingOptionsSection hostingOptions = (WorkflowHostingOptionsSection)ConfigurationManager.GetSection(ConfigurationStrings.WorkflowHostingOptionsSectionPath);