This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Incubator.
Summary
Several extension methods when using IEnumerable.
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator . Enumerable Extensions - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["EnumerableExtensions"]
class Type type-node
Syntax
public static class EnumerableExtensions
Attributes
| Type | Description |
|---|---|
| Cake |
Methods
| Name | Value | Summary |
|---|---|---|
| Distinct |
IEnumerable |
Select a distinct instance of an object from a collection of objects.
static
|
| Each |
void |
Performs an action on a collection of items
static
|
| IsIn |
bool |
Checks if the source is contained in a list
static
|
| IsNullOrEmpty |
bool |
Checks whether specified IEnumerable is null or contains no elements
static
|
| IsNullOrEmpty |
bool |
Checks whether specified IList is null or contains no elements
static
|
| IsNullOrEmpty |
bool |
Checks whether specified array is null or contains no elements
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
