1 Commits

Author SHA1 Message Date
omegaleo 45671889c3 Added select for NeoDictionary.cs 2025-01-03 21:44:03 +00:00
@@ -81,6 +81,9 @@ namespace GameDevLibrary.Models
public NeoDictionaryItem<TKey, TValue>? LastOrDefault(Func<NeoDictionaryItem<TKey, TValue>, bool> predicate) => public NeoDictionaryItem<TKey, TValue>? LastOrDefault(Func<NeoDictionaryItem<TKey, TValue>, bool> predicate) =>
Items.LastOrDefault(predicate); Items.LastOrDefault(predicate);
public IEnumerable<NeoDictionaryItem<TKey, TValue>> Select<TResult>(Func<NeoDictionaryItem<TKey, TValue>, NeoDictionaryItem<TKey, TValue>> selector) =>
Items.Select(selector);
public void Remove(TKey key) public void Remove(TKey key)
{ {