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

16 lines
361 B
C#

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;
}
}
}
}