Class FunctionalExtensions
Extension class to perform Iteration operation.
Inheritance
System.Object
FunctionalExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.UI.Xaml.CellGrid.Helpers
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public static class FunctionalExtensions
Methods
ForEach<T>(IEnumerable<T>, Action<T>)
Iterates over a generic IEnumerable instance to a delegated function
Declaration
public static void ForEach<T>(this IEnumerable<T> items, Action<T> action)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | items | The items. |
System.Action<T> | action | The action. |
Type Parameters
Name | Description |
---|---|
T | A Specified type. |
ForEach<T>(IEnumerable, Action<T>)
Iterates over an IEnumerable instance to a delegated function
Declaration
public static void ForEach<T>(this IEnumerable items, Action<T> action)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | items | The items. |
System.Action<T> | action | The action. |
Type Parameters
Name | Description |
---|---|
T |
ToList<T>(IEnumerable)
Iterates over a IEnumberable and returns an item from collection.
Declaration
public static IEnumerable<T> ToList<T>(this IEnumerable items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | items | Items. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T> | An item. |
Type Parameters
Name | Description |
---|---|
T | A specified type. |