An attribute naming-convention class used in the Editor tooling that maps property names to lowercase. It overrides GetAttributeName to return the property name converted to lower case.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace HumanoidRetargeter.EditorTools.Embedded.Datamodel.Format;
/// <summary>
/// This class' property names are mostly lowercase.
/// </summary>
public class LowercasePropertiesAttribute : AttributeNamingConventionAttribute
{
public override string GetAttributeName(string propertyName, Type _)
=> propertyName.ToLower();
}