wabbajack/Wabbajack.DTOs/JsonConverters/JsonNameAttribute.cs

14 lines
271 B
C#
Raw Permalink Normal View History

2021-09-27 12:42:46 +00:00
using System;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.DTOs.JsonConverters;
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class JsonNameAttribute : Attribute
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public JsonNameAttribute(string name)
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
Name = name;
2021-09-27 12:42:46 +00:00
}
2021-10-23 16:51:17 +00:00
public string Name { get; }
2021-09-27 12:42:46 +00:00
}