2 writes to _cachedContextState
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\ChannelDemuxer.cs (2)
38
_cachedContextState
= new CachedBindingContextState();
47
_cachedContextState
= element._cachedContextState;
9 references to _cachedContextState
System.ServiceModel.Primitives (9)
System\ServiceModel\Channels\ChannelDemuxer.cs (9)
47
_cachedContextState = element.
_cachedContextState
;
90
if (!
_cachedContextState
.IsStateCached)
94
_cachedContextState
.CachedBindingParameters.Add(parameter);
96
_cachedContextState
.IsStateCached = true;
101
foreach (object parameter in
_cachedContextState
.CachedBindingParameters)
137
if (_cacheContextState &&
_cachedContextState
.IsStateCached)
139
for (int i = 0; i <
_cachedContextState
.CachedBindingParameters.Count; ++i)
141
if (!context.BindingParameters.Contains(
_cachedContextState
.CachedBindingParameters[i].GetType()))
143
context.BindingParameters.Add(
_cachedContextState
.CachedBindingParameters[i]);