Skip to main content
All docs
V22.1
.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.v22.1.dll

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