23 references to ChannelCacheDefaults
System.ServiceModel.Activities (23)
System\ServiceModel\Activities\ChannelCacheSettings.cs (3)
21
this.idleTimeout =
ChannelCacheDefaults
.DefaultIdleTimeout;
22
this.leaseTimeout =
ChannelCacheDefaults
.DefaultLeaseTimeout;
23
this.maxItemsInCache =
ChannelCacheDefaults
.DefaultMaxItemsPerCache;
System\ServiceModel\Activities\Configuration\ChannelSettingsElement.cs (6)
22
[ConfigurationProperty(ConfigurationStrings.IdleTimeout, DefaultValue =
ChannelCacheDefaults
.DefaultIdleTimeoutString)]
31
[ConfigurationProperty(ConfigurationStrings.LeaseTimeout, DefaultValue =
ChannelCacheDefaults
.DefaultChannelLeaseTimeoutString)]
40
[ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, DefaultValue =
ChannelCacheDefaults
.DefaultMaxItemsPerCacheString)]
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\FactorySettingsElement.cs (6)
22
[ConfigurationProperty(ConfigurationStrings.IdleTimeout, DefaultValue =
ChannelCacheDefaults
.DefaultIdleTimeoutString)]
31
[ConfigurationProperty(ConfigurationStrings.LeaseTimeout, DefaultValue =
ChannelCacheDefaults
.DefaultFactoryLeaseTimeoutString)]
40
[ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, DefaultValue =
ChannelCacheDefaults
.DefaultMaxItemsPerCacheString)]
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 (2)
22
[ConfigurationProperty(ConfigurationStrings.AllowUnsafeCaching, DefaultValue =
ChannelCacheDefaults
.DefaultAllowUnsafeSharing)]
54
properties.Add(new ConfigurationProperty(ConfigurationStrings.AllowUnsafeCaching, typeof(bool),
ChannelCacheDefaults
.DefaultAllowUnsafeSharing));
System\ServiceModel\Activities\SendMessageChannelCache.cs (6)
25
: this(null, null,
ChannelCacheDefaults
.DefaultAllowUnsafeSharing)
30
this(factorySettings, channelSettings,
ChannelCacheDefaults
.DefaultAllowUnsafeSharing)
76
this.channelCacheSettings = new ChannelCacheSettings { LeaseTimeout =
ChannelCacheDefaults
.DefaultChannelLeaseTimeout };
96
this.factoryCacheSettings = new ChannelCacheSettings { LeaseTimeout =
ChannelCacheDefaults
.DefaultFactoryLeaseTimeout };
108
defaultExtension.FactorySettings.LeaseTimeout =
ChannelCacheDefaults
.DefaultFactoryLeaseTimeout;
109
defaultExtension.ChannelSettings.LeaseTimeout =
ChannelCacheDefaults
.DefaultChannelLeaseTimeout;