1 type derived from IntegerValidator
System.ServiceModel (1)
System\ServiceModel\Configuration\ApplicationContainerSettingsElement.cs (1)
86
class SessionIdTypeValidator :
IntegerValidator
109 instantiations of IntegerValidator
System.Configuration (1)
System\Configuration\IntegerValidatorAttribute.cs (1)
34
return new
IntegerValidator
(_min, _max, _excludeRange);
System.Runtime.Caching (2)
System\Caching\Configuration\MemoryCacheElement.cs (2)
43
new
IntegerValidator
(0, 100),
51
new
IntegerValidator
(0, Int32.MaxValue),
System.Runtime.Serialization (2)
System\Runtime\Serialization\Configuration\Properties.cs (2)
87
properties.Add(new ConfigurationProperty("index", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
139
properties.Add(new ConfigurationProperty("index", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System.ServiceModel (67)
System\ServiceModel\Configuration\Properties.cs (67)
63
properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 100, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
64
properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
90
properties.Add(new ConfigurationProperty("listenBacklog", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
91
properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 100, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
92
properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
567
properties.Add(new ConfigurationProperty("maxReadPoolSize", typeof(System.Int32), 64, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
568
properties.Add(new ConfigurationProperty("maxWritePoolSize", typeof(System.Int32), 16, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
569
properties.Add(new ConfigurationProperty("maxSessionSize", typeof(System.Int32), 2048, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
682
properties.Add(new ConfigurationProperty("maxOutboundChannelsPerEndpoint", typeof(System.Int32), 10, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
909
properties.Add(new ConfigurationProperty("connectionBufferSize", typeof(System.Int32), 8192, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
912
properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
913
properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
915
properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
992
properties.Add(new ConfigurationProperty("maxAcceptedChannels", typeof(System.Int32), 10, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1018
properties.Add(new ConfigurationProperty("port", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 65535, false), System.Configuration.ConfigurationPropertyOptions.IsRequired));
1256
properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1366
properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1367
properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 100000, false), System.Configuration.ConfigurationPropertyOptions.None));
1462
properties.Add(new ConfigurationProperty("issuedTokenRenewalThresholdPercentage", typeof(System.Int32), 60, null, new System.Configuration.
IntegerValidator
(0, 100, false), System.Configuration.ConfigurationPropertyOptions.None));
1548
properties.Add(new ConfigurationProperty("keySize", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1602
properties.Add(new ConfigurationProperty("replayCacheSize", typeof(System.Int32), 900000, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1610
properties.Add(new ConfigurationProperty("cookieRenewalThresholdPercentage", typeof(System.Int32), 60, null, new System.Configuration.
IntegerValidator
(0, 100, false), System.Configuration.ConfigurationPropertyOptions.None));
1636
properties.Add(new ConfigurationProperty("maxStatefulNegotiations", typeof(System.Int32), 128, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1637
properties.Add(new ConfigurationProperty("replayCacheSize", typeof(System.Int32), 900000, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1645
properties.Add(new ConfigurationProperty("maxPendingSessions", typeof(System.Int32), 128, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1646
properties.Add(new ConfigurationProperty("maxCachedCookies", typeof(System.Int32), 1000, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1701
properties.Add(new ConfigurationProperty("maxMessagesToLog", typeof(System.Int32), 10000, null, new System.Configuration.
IntegerValidator
(-1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1702
properties.Add(new ConfigurationProperty("maxSizeOfMessageToLog", typeof(System.Int32), 262144, null, new System.Configuration.
IntegerValidator
(-1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1808
properties.Add(new ConfigurationProperty("maxRetryCycles", typeof(System.Int32), 2, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1811
properties.Add(new ConfigurationProperty("receiveRetryCount", typeof(System.Int32), 5, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1918
properties.Add(new ConfigurationProperty("maxRetryCycles", typeof(System.Int32), 2, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1921
properties.Add(new ConfigurationProperty("receiveRetryCount", typeof(System.Int32), 5, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
1951
properties.Add(new ConfigurationProperty("maxPoolSize", typeof(System.Int32), 8, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2004
properties.Add(new ConfigurationProperty("maxReadPoolSize", typeof(System.Int32), 64, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2005
properties.Add(new ConfigurationProperty("maxWritePoolSize", typeof(System.Int32), 16, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2008
properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2035
properties.Add(new ConfigurationProperty("maxOutboundConnectionsPerEndpoint", typeof(System.Int32), 10, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2242
properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2269
properties.Add(new ConfigurationProperty("port", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 65535, false), System.Configuration.ConfigurationPropertyOptions.None));
2301
properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2302
properties.Add(new ConfigurationProperty("maxConnections", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2412
properties.Add(new ConfigurationProperty("listenBacklog", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2414
properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2415
properties.Add(new ConfigurationProperty("maxConnections", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2603
properties.Add(new ConfigurationProperty("port", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 65535, false), System.Configuration.ConfigurationPropertyOptions.None));
2677
properties.Add(new ConfigurationProperty("version", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2938
properties.Add(new ConfigurationProperty("maxPendingChannels", typeof(System.Int32), 4, null, new System.Configuration.
IntegerValidator
(1, 16384, false), System.Configuration.ConfigurationPropertyOptions.None));
2939
properties.Add(new ConfigurationProperty("maxRetryCount", typeof(System.Int32), 8, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
2940
properties.Add(new ConfigurationProperty("maxTransferWindowSize", typeof(System.Int32), 8, null, new System.Configuration.
IntegerValidator
(1, 4096, false), System.Configuration.ConfigurationPropertyOptions.None));
3238
properties.Add(new ConfigurationProperty("minFreeMemoryPercentageToActivateService", typeof(System.Int32), 5, null, new System.Configuration.
IntegerValidator
(0, 99, false), System.Configuration.ConfigurationPropertyOptions.None));
3424
properties.Add(new ConfigurationProperty("maxConcurrentCalls", typeof(System.Int32), 16, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3425
properties.Add(new ConfigurationProperty("maxConcurrentSessions", typeof(System.Int32), 100, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3426
properties.Add(new ConfigurationProperty("maxConcurrentInstances", typeof(System.Int32), 116, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3499
properties.Add(new ConfigurationProperty("listenBacklog", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3554
properties.Add(new ConfigurationProperty("maxReadPoolSize", typeof(System.Int32), 64, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3555
properties.Add(new ConfigurationProperty("maxWritePoolSize", typeof(System.Int32), 16, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3582
properties.Add(new ConfigurationProperty("maxBatchSize", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3660
properties.Add(new ConfigurationProperty("maxCachedLogonTokens", typeof(System.Int32), 128, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3870
properties.Add(new ConfigurationProperty("maxDepth", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3871
properties.Add(new ConfigurationProperty("maxStringContentLength", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3872
properties.Add(new ConfigurationProperty("maxArrayLength", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3873
properties.Add(new ConfigurationProperty("maxBytesPerRead", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3874
properties.Add(new ConfigurationProperty("maxNameTableCharCount", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
3923
properties.Add(new ConfigurationProperty("maxItemsInObjectGraph", typeof(System.Int32), 2147483647, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
4398
properties.Add(new ConfigurationProperty("privacyNoticeVersion", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
4595
properties.Add(new ConfigurationProperty("maxOutboundConnectionsPerEndpoint", typeof(System.Int32), 10, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
4647
properties.Add(new ConfigurationProperty("maxPendingReceives", typeof(System.Int32), 1, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Configuration\BufferedReceiveElement.cs (1)
48
properties.Add(new ConfigurationProperty(MaxPendingMessagesPerChannelString, typeof(Int32), BufferedReceiveServiceBehavior.DefaultMaxPendingMessagesPerChannel, new Int32Converter(), new
IntegerValidator
(1, Int32.MaxValue), ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\ChannelSettingsElement.cs (1)
55
properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, typeof(System.Int32), ChannelCacheDefaults.DefaultMaxItemsPerCache, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\FactorySettingsElement.cs (1)
55
properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, typeof(System.Int32), ChannelCacheDefaults.DefaultMaxItemsPerCache, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System.ServiceModel.Channels (8)
System\ServiceModel\Configuration\Properties.cs (8)
38
properties.Add(new ConfigurationProperty("duplicateMessageHistoryLength", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
40
properties.Add(new ConfigurationProperty("maxRetransmitCount", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
46
properties.Add(new ConfigurationProperty("timeToLive", typeof(System.Int32), 1, null, new System.Configuration.
IntegerValidator
(0, 255, false), System.Configuration.ConfigurationPropertyOptions.None));
94
properties.Add(new ConfigurationProperty("duplicateMessageHistoryLength", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
97
properties.Add(new ConfigurationProperty("socketReceiveBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
98
properties.Add(new ConfigurationProperty("timeToLive", typeof(System.Int32), 1, null, new System.Configuration.
IntegerValidator
(0, 255, false), System.Configuration.ConfigurationPropertyOptions.None));
126
properties.Add(new ConfigurationProperty("maxMulticastRetransmitCount", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
127
properties.Add(new ConfigurationProperty("maxUnicastRetransmitCount", typeof(System.Int32), 0, null, new System.Configuration.
IntegerValidator
(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System.ServiceModel.Discovery (7)
System\ServiceModel\Discovery\Configuration\FindCriteriaElement.cs (1)
160
new
IntegerValidator
(1, int.MaxValue),
System\ServiceModel\Discovery\Configuration\UdpTransportSettingsElement.cs (6)
159
new
IntegerValidator
(0, int.MaxValue),
168
new
IntegerValidator
(1, int.MaxValue),
177
new
IntegerValidator
(0, int.MaxValue),
186
new
IntegerValidator
(0, int.MaxValue),
204
new
IntegerValidator
(UdpConstants.MinReceiveBufferSize, int.MaxValue),
213
new
IntegerValidator
(UdpConstants.MinTimeToLive, UdpConstants.MaxTimeToLive),
System.ServiceModel.Web (3)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (1)
164
properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (1)
155
properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxBufferSize, typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WebScriptEndpointElement.cs (1)
126
properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxBufferSize, typeof(System.Int32), 65536, null, new System.Configuration.
IntegerValidator
(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System.Web (12)
Configuration\CacheSection.cs (1)
94
new
IntegerValidator
(0, 100),
Configuration\Compiler.cs (1)
41
new
IntegerValidator
(0, 4),
Configuration\CustomError.cs (1)
29
new
IntegerValidator
(100, 999),
Configuration\HttpRuntimeSection.cs (2)
227
new
IntegerValidator
(0, 2097151), // Max from VS 330766
235
new
IntegerValidator
(0, 2097151), // Max from VS 330766
Configuration\ProcessModelSection.cs (5)
173
new
IntegerValidator
(1, int.MaxValue - 1),
180
new
IntegerValidator
(1, int.MaxValue - 1),
187
new
IntegerValidator
(1, int.MaxValue - 1),
194
new
IntegerValidator
(1, int.MaxValue - 1),
217
new
IntegerValidator
(1, int.MaxValue - 1),
Configuration\StdValidatorsAndConverters.cs (2)
133
s_nonZeroPositiveIntegerValidator = new
IntegerValidator
(1, int.MaxValue);
143
s_positiveIntegerValidator = new
IntegerValidator
(0, int.MaxValue);
System.Web.Extensions (2)
Configuration\ScriptingJsonSerializationSection.cs (2)
27
new
IntegerValidator
(1, int.MaxValue),
35
new
IntegerValidator
(1, int.MaxValue),
System.Web.Mobile (1)
UI\MobileControls\MobileControlsSection.cs (1)
31
new
IntegerValidator
( 0 ,int.MaxValue),
System.Web.Services (1)
System\Web\Services\Configuration\SoapExtensionTypeElement.cs (1)
83
readonly ConfigurationProperty priority = new ConfigurationProperty("priority", typeof(int), 0, null, new
IntegerValidator
( 0, int.MaxValue ), ConfigurationPropertyOptions.IsKey);