Click or drag to resize

TallierExtensionsTallyAnyT, T0 Method (TypeTallyT, T0, Boolean)

Add an any to a tally.

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static TypeTally<T, T0, bool> TallyAny<T, T0>(
	this TypeTally<T, T0> this,
	bool break = false
)

Parameters

this
Type: WhetStone.LoopingTypeTallyT, T0
The tally to add to.
break (Optional)
Type: SystemBoolean
Whether to break when an element is found.

Type Parameters

T
The type of the tally.
T0
The first return type of the tally.

Return Value

Type: TypeTallyT, T0, Boolean
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 TypeTallyT, T0. 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