Skip to main content
All docs
V24.2
.NET 8.0+

CollectionSourceBase.GetEnumerable<T>(Boolean) Method

Returns a strongly-typed sequence (IEnumerable<T> or IQueryable<T>) that contains objects from the original collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public IEnumerable<T> GetEnumerable<T>(
    bool wrapNotifications = true
)

Optional Parameters

Name Type Default Description
wrapNotifications Boolean True

true if the returned sequence should implement the INotifyCollectionChanged interface; otherwise, false. The method considers this parameter only if the original collection implements the IBindingList interface.

Type Parameters

Name Description
T

The type of objects in the sequence. This parameter should match the CollectionSourceBase.ObjectTypeInfo.Type property value.

Returns

Type Description
IEnumerable<T>

The strongly-typed sequence that contains objects from the original collection.

See Also