Make it possible to gather values using scoped ItemConfiguration
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public static class ICollectionSynchronizationExtensions
|
||||
{
|
||||
public static int IndexOf<TItem>(this ICollectionSynchronization<TItem> synchronization,
|
||||
TItem item) => synchronization is IList<TItem> collection ? collection.IndexOf(item) : -1;
|
||||
}
|
||||
Reference in New Issue
Block a user