1 Commits

Author SHA1 Message Date
omegaleo 7125bbc537 Added IndexOf to NeoDictionary.cs 2025-01-09 23:33:36 +00:00
@@ -84,6 +84,9 @@ namespace GameDevLibrary.Models
public IEnumerable<NeoDictionaryItem<TKey, TValue>> Select(Func<NeoDictionaryItem<TKey, TValue>, NeoDictionaryItem<TKey, TValue>> selector) => public IEnumerable<NeoDictionaryItem<TKey, TValue>> Select(Func<NeoDictionaryItem<TKey, TValue>, NeoDictionaryItem<TKey, TValue>> selector) =>
Items.Select(selector); Items.Select(selector);
public int IndexOf(NeoDictionaryItem<TKey, TValue> selector) =>
Items.IndexOf(selector);
public void Remove(TKey key) public void Remove(TKey key)
{ {