dotNetTips.Spargine
dotNetTips.Spargine copied to clipboard
Ensure All Collection Extensions Has Consistant DoesNotHaveItems Methods
Make sure that all the collection extensions has a DoesNotHaveItems method. Example:
public static bool DoesNotHaveItems<T>(this ObservableCollection<T> list) => list?.Count <= 0;
- ArrayExtensions
- ListExtensions
- ReadOnlyCollectionExtensions
- SortedDictionaryExtensions
- SortedSetExtensions