1 write to sessions
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\SessionChannels.cs (1)
27
this.
sessions
= new Dictionary<RoutingEndpointTrait, IRoutingClient>();
14 references to sessions
System.ServiceModel.Routing (14)
System\ServiceModel\Routing\SessionChannels.cs (14)
47
lock (this.
sessions
)
49
if (this.
sessions
.Count > 0)
53
this.
sessions
.Clear();
89
lock (this.
sessions
)
91
if (!this.
sessions
.TryGetValue(key, out value))
96
this.
sessions
[key] = value;
107
lock (this.
sessions
)
109
foreach (IRoutingClient client in this.
sessions
.Values)
113
this.
sessions
.Clear();
126
lock (this.
sessions
)
128
if (this.
sessions
.TryGetValue(key, out client))
130
this.
sessions
.Remove(key);
144
lock (this.
sessions
)
151
this.
sessions
.Remove(client.Key);