[]
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.
public DynamicDependencyAttribute(string memberSignature)
Public Sub New(memberSignature As String)
| Type | Name | Description |
|---|---|---|
| string | memberSignature | The signature of the member depended on. |
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.
public DynamicDependencyAttribute(DynamicallyAccessedMemberTypes memberTypes, Type type)
Public Sub New(memberTypes As DynamicallyAccessedMemberTypes, type As Type)
| Type | Name | Description |
|---|---|---|
| DynamicallyAccessedMemberTypes | memberTypes | The types of members depended on. |
| Type | type | The type that contains the specified members. |
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.
public DynamicDependencyAttribute(string memberSignature, Type type)
Public Sub New(memberSignature As String, type As Type)
| Type | Name | Description |
|---|---|---|
| string | memberSignature | The signature of the member depended on. |
| Type | type | The type that contains the specified members. |
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.
public DynamicDependencyAttribute(DynamicallyAccessedMemberTypes memberTypes, string typeName, string assemblyName)
Public Sub New(memberTypes As DynamicallyAccessedMemberTypes, typeName As String, assemblyName As String)
| 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. |
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.
public DynamicDependencyAttribute(string memberSignature, string typeName, string assemblyName)
Public Sub New(memberSignature As String, typeName As String, assemblyName As String)
| 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. |