Implemented interface member:
property
Count
System.Collections.ICollection.Count
94 references to Count
ComSvcConfig (11)
ComplusEndpointConfigContainer.cs (1)
588
this.hasServices = ServiceModelSectionGroup.GetSectionGroup(config).Services.Services.
Count
> 0;
EndpointConfigContainer.cs (9)
351
if (contractElement.ExposedMethods.
Count
== 0)
440
if (comContract.PersistableTypes.
Count
== 0 && Tool.Options.AllowReferences && methodsAdded)
461
if (newComContract.PersistableTypes.
Count
== 0 && Tool.Options.AllowReferences)
601
if (el.Endpoints.
Count
== 1)
604
if (el.Endpoints.
Count
== 0)
613
if (serviceColl.
Count
== 0)
653
if (serviceElement.Endpoints.
Count
== 1)
658
if (serviceElement.Endpoints.
Count
== 0)
661
if (serviceColl.
Count
== 0)
WasEndpointConfigContainer.cs (1)
338
return se.Endpoints.
Count
;
System.Configuration (12)
System\Configuration\ConfigurationElementCollection.cs (12)
171
if (this.
Count
!= compareToElem.
Count
) {
407
_inheritedCount =
Count
; // After reset the count is the number of items actually inherited.
539
iFoundItem >
Count
+ _removedItemCount - _inheritedCount) {
605
index =
Count
+ _removedItemCount - _inheritedCount; // insert before inherited, but after any removed
608
if (index >
Count
+ _removedItemCount - _inheritedCount && flagAsReplaced == false) {
725
if (index >=
Count
- _inheritedCount) {
777
_items.Insert(
Count
+ _removedItemCount - _inheritedCount, new Entry(EntryType.Removed, key, null));
840
object[] keys = new object[
Count
];
900
while (
Count
- _inheritedCount > 0) {
909
int initialCount =
Count
;
973
if (index >=
Count
- _inheritedCount) {
System.IdentityModel (5)
System\IdentityModel\Configuration\AudienceUriElementCollection.cs (1)
53
return ((ElementInformation.Properties[ConfigurationStrings.Mode].ValueOrigin != PropertyValueOrigin.Default) || (
Count
> 0));
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
440
if (serviceElement.SecurityTokenHandlerSets.
Count
> 0)
System\IdentityModel\Configuration\IdentityConfigurationElementCollection.cs (1)
89
return (
Count
> 0);
System\IdentityModel\Configuration\SecurityTokenHandlerElementCollection.cs (1)
68
Count
> 0 );
System\IdentityModel\Configuration\SecurityTokenHandlerSetElementCollection.cs (1)
59
return (
Count
> 0 );
System.Runtime.Serialization (6)
System\Runtime\Serialization\Configuration\ParameterElement.cs (1)
90
if ((propertyInfo[ConfigurationStrings.Index].ValueOrigin != PropertyValueOrigin.Default) && this.Parameters.
Count
> 0)
System\Runtime\Serialization\Configuration\TypeElement.cs (3)
104
if (parameters.
Count
!= t.GetGenericArguments().Length)
108
parameters.
Count
));
110
Type[] types = new Type[parameters.
Count
];
System\Runtime\Serialization\DataContract.cs (2)
2165
for (int i = 0; i < elements.
Count
; ++i)
2177
for (int i = 0; i < elem.KnownTypes.
Count
; ++i)
System.ServiceModel (22)
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (4)
143
if (configElement.Handlers != null && configElement.Handlers.
Count
> 0)
168
if (configElement.Handlers == null || configElement.Handlers.
Count
== 0)
173
Type[] handlerList = new Type[configElement.Handlers.
Count
];
174
for (int i = 0; i < configElement.Handlers.
Count
; i++)
System\ServiceModel\Configuration\BindingCollectionElement.cs (1)
64
for (int i = 0; i < collection.
Count
; i++)
System\ServiceModel\Configuration\BindingsSection.cs (1)
273
if (bindingExtensions.
Count
!= this.properties.Count)
System\ServiceModel\Configuration\EndpointCollectionElement.cs (1)
66
for (int i = 0; i < collection.
Count
; i++)
System\ServiceModel\Configuration\HttpMessageHandlerFactoryValidator.cs (1)
20
if (!string.IsNullOrWhiteSpace(configElement.Type) && configElement.Handlers != null && configElement.Handlers.
Count
> 0)
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (4)
95
for (int i = 0; i < srcAuthorizationPolicies.
Count
; ++i)
131
if (authorizationPolicies.
Count
> 0)
133
List<IAuthorizationPolicy> policies = new List<IAuthorizationPolicy>(authorizationPolicies.
Count
);
134
for (int i = 0; i < authorizationPolicies.
Count
; ++i)
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (3)
44
if (null != collection && collection.
Count
!= 0)
80
if (collection != null && collection.
Count
== 0)
235
for (int i = 0; i < collection.
Count
; i++)
System\ServiceModel\Configuration\StandardEndpointsSection.cs (1)
174
if (endpointExtensions.
Count
!= this.properties.Count)
System\ServiceModel\Configuration\X509RecipientCertificateClientElement.cs (2)
61
for (int i = 0; i < srcScopedCertificates.
Count
; ++i)
92
for (int i = 0; i < scopedCertificates.
Count
; ++i)
System\ServiceModel\Configuration\XmlElementElementCollection.cs (1)
39
for (int i = 0; i < source.
Count
; ++i)
System\ServiceModel\Description\ConfigLoader.cs (1)
1433
for (int i = 0; i < services.
Count
; i++)
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
573
for (int i = 0; i < section.MessageLogging.Filters.
Count
; i++)
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (1)
41
if (this.serviceElement.Host.BaseAddresses.
Count
> 0)
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\Configuration\EndpointDiscoveryElement.cs (2)
132
if ((Scopes != null) && (Scopes.
Count
> 0))
149
if ((Extensions != null) && (Extensions.
Count
> 0))
System.Web (25)
Compilation\BuildManager.cs (1)
2013
numOfCodeDirs += codeSubDirectories.
Count
;
Compilation\CompilationUtil.cs (4)
184
if (assemblies.
Count
== 0) {
196
if (builders.
Count
== 0) {
209
if (buildProviders.
Count
== 0) {
220
if (codeSubDirs.
Count
== 0) {
Compilation\ProfileBuildProvider.cs (1)
52
if (ProfileBase.GetPropertiesForCompilation().Count == 0 && !ProfileBase.InheritsFromCustomType && ProfileManager.DynamicProfileProperties.
Count
== 0) {
Configuration\AuthorizationRuleCollection.cs (1)
180
for (int x = 0; x <
Count
; x++) {
Configuration\AuthorizationSection.cs (1)
84
if (Rules.
Count
> 0) {
Configuration\HealthMonitoringSectionHelper.cs (1)
510
_instances = CollectionsUtil.CreateCaseInsensitiveHashtable(section.Providers.
Count
);
Configuration\HttpHandlersSection.cs (1)
68
for (int i = 0; i < Handlers.
Count
; i++) {
Configuration\OutputCacheSection.cs (1)
200
if (providers == null || providers.
Count
== 0) {
Configuration\ProfileGroupSettingsCollection.cs (1)
171
int index =
Count
-1;
Hosting\ApplicationManager.cs (5)
1077
if (cacheProviders == null || cacheProviders.
Count
< 1) {
1164
if (partialTrustVisibleAssembliesCollection != null && partialTrustVisibleAssembliesCollection.
Count
!= 0) {
1165
partialTrustVisibleAssemblies = new string[partialTrustVisibleAssembliesCollection.
Count
+ defaultPartialTrustVisibleAssemblies.Length];
1166
for (int i = 0; i < partialTrustVisibleAssembliesCollection.
Count
; i++) {
1171
defaultPartialTrustVisibleAssemblies.CopyTo(partialTrustVisibleAssemblies, partialTrustVisibleAssembliesCollection.
Count
);
Hosting\HostingEnvironment.cs (1)
1465
if (cacheProviders == null || cacheProviders.
Count
< 1) {
HttpApplication.cs (1)
3821
urlMappingsEnabled = urlMappings.IsEnabled && ( urlMappings.UrlMappings.
Count
> 0 );
Security\FileAuthorizationModule.cs (1)
75
int len = modulesSection.Modules.
Count
;
Security\UrlAuthorizationModule.cs (1)
81
int len = modulesSection.Modules.
Count
;
UI\Util.cs (3)
117
if (namespaces.
Count
== 0) {
129
if (controls.
Count
== 0) {
150
if (tagMapping.
Count
== 0) {
UrlMappingsModule.cs (1)
19
urlMappingsEnabled = urlMappings.IsEnabled && ( urlMappings.UrlMappings.
Count
> 0 );
System.Web.Services (11)
System\Web\Services\Configuration\WebServicesSection.cs (6)
136
if (this.ServiceDescriptionFormatExtensionTypes.
Count
== 0) {
140
Type[] formatTypes = new Type[defaultFormatTypes.Length + this.ServiceDescriptionFormatExtensionTypes.
Count
];
143
for (int index = 0; index < this.ServiceDescriptionFormatExtensionTypes.
Count
; ++index) {
386
get { return this.ServiceDescriptionFormatExtensionTypes.
Count
> 0; }
434
Type[] retval = new Type[1 + this.SoapTransportImporterTypes.
Count
];
436
for (int i = 0; i < SoapTransportImporterTypes.
Count
; ++i) {
System\Web\Services\Description\SoapProtocolImporter.cs (1)
517
extensions = new SoapExtensionImporter[extensionTypes.
Count
];
System\Web\Services\Description\SoapProtocolReflector.cs (2)
244
extensions = new SoapExtensionReflector[extensionTypes.
Count
];
259
extensions = new SoapExtensionReflector[extensionTypes.
Count
];
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
59
for (int i = 0; i < extensionTypes.
Count
; i++) {
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
84
for (int i = 0; i < extensionTypes.
Count
; i++) {