Dev #14
@@ -85,6 +85,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)
|
||||||
{
|
{
|
||||||
var index = Items.FindIndex(x => x.Key.Equals(key));
|
var index = Items.FindIndex(x => x.Key.Equals(key));
|
||||||
|
|||||||
Reference in New Issue
Block a user