Skip to content

Commit

Permalink
fix: 🐛 fix the bug about ListLocked
Browse files Browse the repository at this point in the history
  • Loading branch information
shangfengh committed Dec 16, 2023
1 parent a8852d7 commit 2ba252c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions logic/Preparation/Utility/SafeValue/ListLocked.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ public class LockedClassList<T> where T : class
private List<T> list;

#region 构造
public LockedList()
public LockedClassList()
{
list = new List<T>();
}
public LockedList(int capacity)
public LockedClassList(int capacity)
{
list = new List<T>(capacity);
}
public LockedList(IEnumerable<T> collection)
public LockedClassList(IEnumerable<T> collection)
{
list = new List<T>(collection);
}
Expand Down

0 comments on commit 2ba252c

Please sign in to comment.