カスタム属性

ドキュメント:

カスタム属性を作成する | 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 [公式]

リファレンス

Attribute クラス | Microsoft Learn [公式]

記事をシェアする:
タグ:

コメントを残す

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です

Protected by reCAPTCHA