rabidus-test/Assets/Plugins/QFSW/Quantum Console/Source/Scripts/Serialization/Serializers/IDictionarySerializer.cs

16 lines
361 B
C#
Raw Normal View History

2023-08-22 15:41:12 +03:00
using System.Collections;
namespace QFSW.QC.Serializers
{
public class IDictionarySerializer : IEnumerableSerializer<IDictionary>
{
protected override IEnumerable GetObjectStream(IDictionary value)
{
foreach (DictionaryEntry item in value)
{
yield return item;
}
}
}
}