Skip to main content
A newer version of this page is available. .
All docs
V20.2
.NET Framework 4.5.2+

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.v20.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