Files
glitchy-engine-beef/ScriptCore/Serialization/CustomSerializerAttribute.cs
T
Simon Lübeß 3de861110e Custom Serializers
- Dictionary serializer
2024-01-05 13:37:58 +01:00

17 lines
365 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace GlitchyEngine.Serialization;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class CustomSerializerAttribute : Attribute
{
public Type Type { get; private set; }
public CustomSerializerAttribute(Type type)
{
Type = type;
}
}