v10.10.2024.0701 使用IJsonHost改进Json序列化
大石头 编写于 2024-07-01 08:36:34 大石头 提交于 2024-07-01 08:48:33
X
using System.Collections.Generic;

namespace System.Collections.Concurrent;

public interface IProducerConsumerCollection<T> : IEnumerable<T>, ICollection, IEnumerable
{
	bool TryAdd(T item);

	bool TryTake(out T item);

	T[] ToArray();

	void CopyTo(T[] array, int index);
}