Attribute type that annotates fields and properties with a localization key. It stores the provided key string in a Value property.
using System;
namespace WackyLib.Attributes;
[AttributeUsage( AttributeTargets.Field | AttributeTargets.Property )]
public class LocalizedNameAttribute( string key ) : Attribute
{
public string Value { get; private set; } = key;
}