DynamicDependencyAttribute クラス

定義

あるメンバーが別のメンバーに対して持っている依存関係を示します。

public ref class DynamicDependencyAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public sealed class DynamicDependencyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)>]
type DynamicDependencyAttribute = class
    inherit Attribute
Public NotInheritable Class DynamicDependencyAttribute
Inherits Attribute
継承
DynamicDependencyAttribute
属性

注釈

この属性を使用すると、メタデータと IL から純粋に明らかではない依存関係 (リフレクションを介して依存するメンバーなど) をツールに通知できます。

コンストラクター

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, String, String)

アセンブリの型でメンバーの型を指定し、DynamicDependencyAttribute クラスの新しいインスタンスを初期化します。

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type)

Type でメンバーの型を指定し、DynamicDependencyAttribute クラスの新しいインスタンスを初期化します。

DynamicDependencyAttribute(String)

コンシューマーと同じ型でメンバーのシグネチャを指定し、DynamicDependencyAttribute クラスの新しいインスタンスを初期化します。

DynamicDependencyAttribute(String, String, String)

アセンブリの型でメンバーのシグネチャを指定し、DynamicDependencyAttribute クラスの新しいインスタンスを初期化します。

DynamicDependencyAttribute(String, Type)

Type でメンバーのシグネチャを指定し、DynamicDependencyAttribute クラスの新しいインスタンスを初期化します。

プロパティ

AssemblyName

指定の型でアセンブリ名を取得します。

Condition

依存関係が適用される条件を取得または設定します。

MemberSignature

依存するメンバーのシグネチャを取得します。

MemberTypes

フィールドやプロパティなど、依存するメンバーの型を取得します。

Type

指定のメンバーを含む Type を取得します。

TypeId

派生クラスで実装されると、この Attribute の一意の識別子を取得します。

(継承元 Attribute)
TypeName

指定のメンバーを含む型のフル ネームを取得します。

メソッド

Equals(Object)

このインスタンスが、指定されたオブジェクトと等価であるかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 Attribute)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

派生クラスでオーバーライドされるとき、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)

派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象