10 references to _contextsStack
Aspire.Dashboard (10)
Model\Assistant\AIContextProvider.cs (10)
54
if (
_contextsStack
.Count == 0)
59
return
_contextsStack
[
_contextsStack
.Count - 1];
76
_contextsStack
.Add(context);
90
var index =
_contextsStack
.IndexOf(context);
91
if (index ==
_contextsStack
.Count - 1)
137
var index =
_contextsStack
.IndexOf(context);
142
else if (index ==
_contextsStack
.Count - 1)
148
_contextsStack
.RemoveAt(index);
164
return
_contextsStack
.Count;