2 writes to cachedEndpoints
System.ServiceModel (2)
System\ServiceModel\Dispatcher\EndpointDispatcherTable.cs (2)
52this.cachedEndpoints = new List<EndpointDispatcher>(optimizationThreshold); 69this.cachedEndpoints = null;
16 references to cachedEndpoints
System.ServiceModel (16)
System\ServiceModel\Dispatcher\EndpointDispatcherTable.cs (16)
31return ((this.cachedEndpoints != null) ? cachedEndpoints.Count : 0) + 50if (this.cachedEndpoints == null) 55if (this.cachedEndpoints.Count < optimizationThreshold) 57this.cachedEndpoints.Add(endpoint); 62for (int i = 0; i < this.cachedEndpoints.Count; i++) 64int cachedPriority = cachedEndpoints[i].FilterPriority; 65MessageFilter cachedFilter = cachedEndpoints[i].EndpointFilter; 66filters.Add(cachedFilter, cachedEndpoints[i], cachedPriority); 85if (cachedEndpoints != null && cachedEndpoints.Contains(endpoint)) 87cachedEndpoints.Remove(endpoint); 105if (this.cachedEndpoints != null && this.cachedEndpoints.Count > 0) 107for (int i = 0; i < this.cachedEndpoints.Count; i++) 109EndpointDispatcher cachedEndpoint = cachedEndpoints[i];