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