カスタム属性
ドキュメント:
カスタム属性を作成する | Microsoft Learn [公式]
カスタム属性で型の情報を扱いたい
参考:
How do I get the member to which my custom attribute was applied? – Stack Overflow
メソッド呼び出しから属性の値を取得したい
参考:
Get attributes associated with the class’s instance from within the class – Stack Overflow
チュートリアル
カスタム属性の定義と読み取り | Microsoft Learn [公式]