2 writes to _list
WindowsBase (2)
Base\System\Windows\WeakEventManager.cs (2)
557
_list
= new FrugalObjectList<Listener>();
565
_list
= new FrugalObjectList<Listener>(capacity);
16 references to _list
WindowsBase (16)
Base\System\Windows\WeakEventManager.cs (16)
573
get { return (IWeakEventListener)
_list
[index].Target; }
578
return
_list
[index];
586
get { return
_list
.Count; }
594
get { return
_list
.Count == 0; }
611
_list
.Add(new Listener(listener));
620
for (int i=
_list
.Count-1; i>=0; --i)
622
if (
_list
[i].Target == listener)
624
_list
.RemoveAt(i);
639
_list
.Add(new Listener(target, handler));
687
for (int i=
_list
.Count-1; i>=0; --i)
689
if (
_list
[i].Matches(target, handler))
691
_list
.RemoveAt(i);
737
_list
.Add(listener);
828
for (int j=
_list
.Count-1; j>=0; --j)
830
if (
_list
[j].Target == null)
832
_list
.RemoveAt(j);