Implemented interface members:
property
Count
System.Collections.Generic.ICollection<T>.Count
property
Count
System.Collections.ICollection.Count
68 references to Count
System.ServiceModel (64)
System\ServiceModel\Channels\DatagramAdapter.cs (3)
580for (int i = this.Count - 1; i >= 0; i--) 819if (this.listener.Channels.Count > 0) 908if (this.listener.Channels.Count > 0)
System\ServiceModel\Channels\PeerService.cs (1)
230for (int i = 0; i < serviceHost.ChannelDispatchers.Count; i++)
System\ServiceModel\Channels\ServiceChannel.cs (2)
1184if (!this.didInteractiveInitialization && (this.ClientRuntime.InteractiveChannelInitializers.Count > 0)) 1203if (this.ClientRuntime.InteractiveChannelInitializers.Count > 0)
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (1)
132for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\Description\ServiceAuthorizationBehavior.cs (1)
200for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\Description\ServiceCredentials.cs (1)
302for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\Description\ServiceDebugBehavior.cs (1)
163for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
292for (int i = 0; i < host.ChannelDispatchers.Count; i++) 297if (channelDispatcher.Endpoints.Count != 1) 319for (int i = 0; i < channelDispatchers.Count; ++i) 324for (int j = 0; j < channelDispatcher.Endpoints.Count; ++j)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
378if (channelDispatcher.Endpoints.Count == 1 &&
System\ServiceModel\Description\ServiceSecurityAuditBehavior.cs (1)
121for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\Description\ServiceThrottlingBehavior.cs (1)
100for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\Description\ServiceTimeoutsBehavior.cs (1)
50for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (6)
423for (int i = this.pendingChannels.Count - 1; i >= 0; i--) 444for (int i = 0; i < this.endpointDispatchers.Count; i++) 473for (int i = 0; i < this.endpointDispatchers.Count; i++) 530for (int i = 0; i < this.channelInitializers.Count; ++i) 676for (int i = 0; i < this.endpointDispatchers.Count; i++) 820for (int i = 0; i < this.endpointDispatchers.Count; i++)
System\ServiceModel\Dispatcher\ChannelDispatcherCollection.cs (1)
28ChannelDispatcherBase[] array = new ChannelDispatcherBase[this.Count];
System\ServiceModel\Dispatcher\ClientRuntime.cs (4)
332for (int i = 0; i < this.operations.Count; i++) 333max = System.Math.Max(max, this.operations[i].ParameterInspectors.Count); 402if (collection.Count == 0) 408T[] array = new T[collection.Count];
System\ServiceModel\Dispatcher\DispatchRuntime.cs (6)
669for (int i = 0; i < this.operations.Count; i++) 671max = System.Math.Max(max, this.operations[i].CallContextInitializers.Count); 673max = System.Math.Max(max, this.unhandled.CallContextInitializers.Count); 687for (int i = 0; i < this.operations.Count; i++) 689max = System.Math.Max(max, this.operations[i].ParameterInspectors.Count); 691max = System.Math.Max(max, this.unhandled.ParameterInspectors.Count);
System\ServiceModel\Dispatcher\EndpointFilterProvider.cs (3)
32if (initiatingActions.Count == 0) 35string[] actions = new string[initiatingActions.Count]; 37for (int i = 0; i < initiatingActions.Count; i++)
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (1)
48for (int i = 0; i < behavior.Operations.Count; i++)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (3)
98this.parameterInspectorCorrelationOffset = (dispatch.MessageInspectors.Count + 107for (int i = 0; i < dispatch.Operations.Count; i++) 120for (int i = 0; i < dispatch.Operations.Count; i++)
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
106for (int i = 0; i < dispatch.Operations.Count; i++)
System\ServiceModel\Dispatcher\TerminatingOperationBehavior.cs (1)
31for (int i = 0; i < dispatch.Operations.Count; i++)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
152for (int i = 0; i < dispatch.Operations.Count; i++)
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (2)
50for (int i = 0; i < this.xmlSerializerFaultContractInfos.Count; i++) 75for (int i = 0; i < this.xmlSerializerFaultContractInfos.Count; i++)
System\ServiceModel\ExtensionCollection.cs (2)
45array = new IExtension<T>[this.Count]; 62for (int i = this.Count - 1; i >= 0; i--)
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (3)
392for (int i = 0; i < this.RequestSecurityTokenListener.ChannelDispatchers.Count; i++) 410if (this.RequestSecurityTokenListener != null && this.RequestSecurityTokenListener.ChannelDispatchers.Count > 0) 418for (int i = 0; i < this.RequestSecurityTokenListener.ChannelDispatchers.Count; i++)
System\ServiceModel\ServiceBehaviorAttribute.cs (2)
362for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++) 423for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)
System\ServiceModel\ServiceHost.cs (9)
863for (int i = 0; i < this.ChannelDispatchers.Count; i++) 872for (int i = 0; i < this.ChannelDispatchers.Count; i++) 885for (int i = 0; i < this.ChannelDispatchers.Count; i++) 915for (int i = 0; i < this.ChannelDispatchers.Count; i++) 933&& this.baseAddresses.Count > 0) 1040for (int i = 0; i < this.ChannelDispatchers.Count; i++) 1176ICommunicationObject[] array = new ICommunicationObject[this.ChannelDispatchers.Count]; 1322for (int i = 0; i < this.serviceHost.ChannelDispatchers.Count; i++) 1400for (int i = 0; i < this.serviceHost.ChannelDispatchers.Count; i++)
System\ServiceModel\SynchronizedCollection.cs (1)
273return this.Count - 1;
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (2)
42for (int i = 0; i < service.ChannelDispatchers.Count; i++) 49for (int j = 0; j < channelDispatcher.Endpoints.Count; j++)
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\OnlineAnnouncementChannelDispatcher.cs (1)
96this.dispatchersToWait = serviceHostBase.ChannelDispatchers.Count;
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\RoutingBehavior.cs (1)
40for (int i = 0; i < serviceHostBase.ChannelDispatchers.Count; i++)