Back to Devexpress

EnumerableExtensions Members

maui-devexpress-dot-maui-dot-mvvm-dot-enumerableextensions-dot-underscore-members.md

latest6.1 KB
Original Source

EnumerableExtensions Members

Provides access to extension methods that work with IEnumerable<T> collections.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from System.Object.
Flatten<T>(IEnumerable<T>, Func<T, IEnumerable<T>>) staticConverts a hierarchical data structure into a flat collection. This method traverses the hierarchy defined by the getItems() function. The function accepts all hierarchy items and returns nested items as a flat collection.
Flatten<T>(IEnumerable<T>, Func<T, Int32, IEnumerable<T>>) staticConverts a hierarchical data structure into a flat collection. This method traverses the hierarchy defined by the getItems() function. The function accepts an item in the hierarchy and the hierarchy level, and returns nested items.
ForEach<T>(IEnumerable<T>, Action<T, Int32>) staticIterates through each item in the IEnumerable<T> collection and performs the specified action.
ForEach<T>(IEnumerable<T>, Action<T>) staticIterates through each item in the IEnumerable<T> collection and performs the specified action.
GetHashCode()Serves as the default hash function. Inherited from System.Object.
GetType()Gets the Type of the current instance. Inherited from System.Object.
IsSingle<T>(IEnumerable<T>) staticDetermines whether the specified IEnumerable<T> collection contains only one element.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from System.Object.
ToObservableCollection<T>(IEnumerable<T>) staticConverts the IEnumerable<T> collection to the ObservableCollection<T>.
ToReadOnlyCollection<T>(IEnumerable<T>) staticConverts the IEnumerable<T> collection to the ReadOnlyCollection<T>.
ToReadOnlyObservableCollection<T>(IEnumerable<T>) staticConverts the IEnumerable<T> collection to the ReadOnlyObservableCollection<T>.
ToString()Returns a string that represents the current object. Inherited from System.Object.
Yield<T>(T) staticConverts an individual item into an IEnumerable<T> collection that contains this item. If the specified item is null, the method returns the collection that stores null.
YieldIfNotNull<T>(T) staticConverts an individual item into an IEnumerable<T> sequence that contains this item. If the specified item is null, the method returns an empty sequence.

See Also

EnumerableExtensions Class

DevExpress.Maui.Mvvm Namespace