EnumerableExtensions.ToReadOnlyCollection<T>(IEnumerable<T>) Method
Converts the IEnumerable<T>
collection to the ReadOnlyCollection<T>
.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
public static ReadOnlyCollection<T> ToReadOnlyCollection<T>(
this IEnumerable<T> source
)
Parameters
Name | Type | Description |
---|---|---|
source | IEnumerable<T> | The source item collection. |
Type Parameters
Name | Description |
---|---|
T | The type of items stored in the |
Returns
Type | Description |
---|---|
ReadOnlyCollection<T> | The |
See Also