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