2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2020-12-11 01:17:15 +03:00
parent c68b58c3a2
commit b61df304ea
9 changed files with 110 additions and 42 deletions

View File

@ -62,17 +62,20 @@ namespace Esiur.Data
public void Sort()
{
lock(syncRoot)
list.Sort();
}
public void Sort(IComparer<T> comparer)
{
list.Sort(comparer);
lock (syncRoot)
list.Sort(comparer);
}
public void Sort(Comparison<T> comparison)
{
list.Sort(comparison);
lock (syncRoot)
list.Sort(comparison);
}
public IEnumerable<T> Where(Func<T, bool> predicate)