Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
TallierExtensions Class
TallierExtensions Methods
TallyCount Method
TallyCount(T) Method (GenericTally(T))
TallyCount(T) Method (TypeTally(T))
TallyCount(T, T0) Method (TypeTally(T, T0))
TallyCount(T, T0, T1) Method (TypeTally(T, T0, T1))
TallyCount(T, T0, T1, T2) Method (TypeTally(T, T0, T1, T2))
TallyCount(T, T0, T1, T2, T3) Method (TypeTally(T, T0, T1, T2, T3))
TallyCount(T, T0, T1, T2, T3, T4) Method (TypeTally(T, T0, T1, T2, T3, T4))
TallyCount(T) Method (GenericTally(T), Func(T, Boolean))
TallyCount(T) Method (TypeTally(T), Func(T, Boolean))
TallyCount(T, T0) Method (TypeTally(T, T0), Func(T, Boolean))
TallyCount(T, T0, T1) Method (TypeTally(T, T0, T1), Func(T, Boolean))
TallyCount(T, T0, T1, T2) Method (TypeTally(T, T0, T1, T2), Func(T, Boolean))
TallyCount(T, T0, T1, T2, T3) Method (TypeTally(T, T0, T1, T2, T3), Func(T, Boolean))
TallyCount(T, T0, T1, T2, T3, T4) Method (TypeTally(T, T0, T1, T2, T3, T4), Func(T, Boolean))
TallierExtensions
TallyCount
T
Method (GenericTally
T
, Func
T
, Boolean
)
Add a count to a
GenericTally
T
.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
GenericTally
<T>
TallyCount
<T>(
this
GenericTally
<T>
this
,
Func
<T,
bool
>
cond
)
Parameters
this
Type:
WhetStone.Looping
GenericTally
T
The
GenericTally
T
to add to.
cond
Type:
System
Func
T
,
Boolean
The condition for which to count an element.
Type Parameters
T
The type of the
GenericTally
T
.
Return Value
Type:
GenericTally
T
this
, to allow piping.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
GenericTally
T
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
TallierExtensions Class
TallyCount Overload
WhetStone.Looping Namespace