Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
anyAndAll Class
anyAndAll Methods
AnyAndAll Method
AnyAndAll Method (IEnumerable(Boolean))
AnyAndAll(T) Method (IEnumerable(T), Func(T, Boolean))
anyAndAll
AnyAndAll Method (IEnumerable
Boolean
)
Checks that all members of the
IEnumerable
T
of type
Boolean
are
and that the
IEnumerable
T
of type
Boolean
is not empty.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
bool
AnyAndAll
(
this
IEnumerable
<
bool
>
this
)
Parameters
this
Type:
System.Collections.Generic
IEnumerable
Boolean
The
IEnumerable
T
of type
Boolean
to check.
Return Value
Type:
Boolean
Whether all elements are
and
this
is not empty.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
Boolean
. 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
anyAndAll Class
AnyAndAll Overload
WhetStone.Looping Namespace