|
|
| AListSumTracker (Func< T, double > selector, AListBase< int, T > list=null) |
| |
|
| AListSumTracker (Func< T, double > selector, AListBase< K, T > list=null) |
| |
|
| AListStatisticTracker (Func< T, TSummary > selector, Func< TSummary[], TSummary > aggregator, TSummary emptyResult, AListBase< K, T > list=null) |
| |
|
| AListStatisticTracker (Func< T, TSummary > selector, Func< TSummary, TSummary, TSummary > aggregator, TSummary emptyResult, AListBase< K, T > list=null) |
| |
|
TSummary | GetSummary () |
| |
| void | Detach (AListBase< K, T > list, AListNode< K, T >?root) |
| | Called when the observer is being detached from an AList. Detach(), unlike Attach(), is not paired with a call to RootChanged. More...
|
| |
| void | RootChanged (AListBase< K, T > list, AListNode< K, T >?root, bool clear) |
| | Called when the root of the tree changes, or when the list is cleared. Also called after Attach(), but not after Detach(). More...
|
| |
|
|
double | Sum => Summary |
| |
|
double | Average => Summary / TotalCountInAttachedLists |
| |
|
IEnumerable< AListBase< K, T > > | AttachedLists => _roots.Keys |
| |
|
int | TotalCountInAttachedLists => _roots.Sum(pair => pair.Key.Count) |
| |
|
TSummary | Summary => GetSummary() |
| |
|
override TSummary | Aggregate (TSummary[] data) |
| |
|
override TSummary | Summarize (AListLeafBase< K, T > data) |
| |
|
TSummary | GetSummary (AListNode< K, T > node) |
| |
|
override TSummary | EmptyResult => _emptyResult |
| |
|
virtual TSummary | EmptyResult => Aggregate(Empty<TSummary>.Array) |
| |