[]
        
(Showing Draft Content)

C1.Diagnostics.CodeAnalysis.DynamicDependencyAttribute.-ctor

DynamicDependencyAttribute Constructor

DynamicDependencyAttribute(string)

Initializes a new instance of the System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute class with the specified signature of a member on the same type as the consumer.

Declaration
public DynamicDependencyAttribute(string memberSignature)
Public Sub New(memberSignature As String)
Parameters
Type Name Description
string memberSignature

The signature of the member depended on.

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type)

Initializes a new instance of the System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute class with the specified signature of a member on the same type as the consumer.

Declaration
public DynamicDependencyAttribute(DynamicallyAccessedMemberTypes memberTypes, Type type)
Public Sub New(memberTypes As DynamicallyAccessedMemberTypes, type As Type)
Parameters
Type Name Description
DynamicallyAccessedMemberTypes memberTypes

The types of members depended on.

Type type

The type that contains the specified members.

DynamicDependencyAttribute(string, Type)

Initializes a new instance of the System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute class with the specified signature of a member on the same type as the consumer.

Declaration
public DynamicDependencyAttribute(string memberSignature, Type type)
Public Sub New(memberSignature As String, type As Type)
Parameters
Type Name Description
string memberSignature

The signature of the member depended on.

Type type

The type that contains the specified members.

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, string, string)

Initializes a new instance of the System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute class with the specified signature of a member on the same type as the consumer.

Declaration
public DynamicDependencyAttribute(DynamicallyAccessedMemberTypes memberTypes, string typeName, string assemblyName)
Public Sub New(memberTypes As DynamicallyAccessedMemberTypes, typeName As String, assemblyName As String)
Parameters
Type Name Description
DynamicallyAccessedMemberTypes memberTypes

The types of members depended on.

string typeName

The full name of the type containing the specified members.

string assemblyName

The assembly name of the type containing the specified members.

DynamicDependencyAttribute(string, string, string)

Initializes a new instance of the System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute class with the specified signature of a member on the same type as the consumer.

Declaration
public DynamicDependencyAttribute(string memberSignature, string typeName, string assemblyName)
Public Sub New(memberSignature As String, typeName As String, assemblyName As String)
Parameters
Type Name Description
string memberSignature

The signature of the member depended on.

string typeName

The full name of the type containing the specified members.

string assemblyName

The assembly name of the type containing the specified members.