10 references to _contextsStack
Aspire.Dashboard (10)
Model\Assistant\AIContextProvider.cs (10)
50
if (
_contextsStack
.Count == 0)
55
return
_contextsStack
[
_contextsStack
.Count - 1];
72
_contextsStack
.Add(context);
86
var index =
_contextsStack
.IndexOf(context);
87
if (index ==
_contextsStack
.Count - 1)
133
var index =
_contextsStack
.IndexOf(context);
138
else if (index ==
_contextsStack
.Count - 1)
144
_contextsStack
.RemoveAt(index);
160
return
_contextsStack
.Count;