This commit is contained in:
龙腾猫跃 committed 2026-04-28 01:13:03 +08:00
1 parent 53ed257072
commit 2b3e6e211a
3 files changed
+16 -11

No files matched your search

+5
View File
@@ -1,4 +1,9 @@
namespace MeloongCore;
/// <summary>
/// 线程安全的 <see cref="List{T}"/> 实现。
/// 在 <see cref="SynchronizedCollection{T}"/> 的基础上,当调用枚举器时返回一个临时副本,以避免列表在枚举过程中被修改导致异常。
/// </summary>
public class ConcurrentList<T> : SynchronizedCollection<T>, IEnumerable, IEnumerable<T> {
// 构造函数