Click or drag to resize

TallierExtensionsTallyActionT Method (GenericTallyT, FuncT, Boolean)

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static GenericTally<T> TallyAction<T>(
	this GenericTally<T> this,
	Func<T, bool> action
)

Parameters

this
Type: WhetStone.LoopingGenericTallyT
The GenericTallyT to add to.
action
Type: SystemFuncT, Boolean
The ActionT to invoke on every element tallied. The action returns whether or not to continue the tallying.

Type Parameters

T
The type of the GenericTallyT.

Return Value

Type: GenericTallyT
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 GenericTallyT. 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