- add GetEntryForKey() method

master
Simon G 5 years ago
parent 6cb926d6ef
commit 278ccce013
  1. 2
      GBase/GBaseTable.cs

@ -196,6 +196,8 @@ namespace GBase
return true; return true;
} }
public T GetEntryForKey(int key) => Entries.FirstOrDefault(e => e.Key == key);
/// <summary> /// <summary>
/// Remove an entry that implements <see cref="IGBaseObject"/> from this <see cref="IGBaseTable"/> /// Remove an entry that implements <see cref="IGBaseObject"/> from this <see cref="IGBaseTable"/>
/// </summary> /// </summary>

Loading…
Cancel
Save