DynamicDependencyAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DynamicDependencyAttribute(String) |
Initializes a new instance of the DynamicDependencyAttribute class with the specified signature of a member on the same type as the consumer. |
DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type) |
Initializes a new instance of the DynamicDependencyAttribute class with the specified types of members on a Type. |
DynamicDependencyAttribute(String, Type) |
Initializes a new instance of the DynamicDependencyAttribute class with the specified signature of a member on a Type. |
DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, String, String) |
Initializes a new instance of the DynamicDependencyAttribute class with the specified types of members on a type in an assembly. |
DynamicDependencyAttribute(String, String, String) |
Initializes a new instance of the DynamicDependencyAttribute class with the specified signature of a member on a type in an assembly. |
DynamicDependencyAttribute(String)
Initializes a new instance of the DynamicDependencyAttribute class with the specified signature of a member on the same type as the consumer.
public:
DynamicDependencyAttribute(System::String ^ memberSignature);
public DynamicDependencyAttribute (string memberSignature);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : string -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberSignature As String)
Parameters
- memberSignature
- String
The signature of the member depended on.
Applies to
DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type)
Initializes a new instance of the DynamicDependencyAttribute class with the specified types of members on a Type.
public:
DynamicDependencyAttribute(System::Diagnostics::CodeAnalysis::DynamicallyAccessedMemberTypes memberTypes, Type ^ type);
public DynamicDependencyAttribute (System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes, Type type);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes * Type -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberTypes As DynamicallyAccessedMemberTypes, type As Type)
Parameters
- memberTypes
- DynamicallyAccessedMemberTypes
The types of members depended on.
- type
- Type
The type that contains the specified members.
Applies to
DynamicDependencyAttribute(String, Type)
Initializes a new instance of the DynamicDependencyAttribute class with the specified signature of a member on a Type.
public:
DynamicDependencyAttribute(System::String ^ memberSignature, Type ^ type);
public DynamicDependencyAttribute (string memberSignature, Type type);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : string * Type -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberSignature As String, type As Type)
Parameters
- memberSignature
- String
The signature of the member depended on.
- type
- Type
The type that contains memberSignature
.
Applies to
DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, String, String)
Initializes a new instance of the DynamicDependencyAttribute class with the specified types of members on a type in an assembly.
public:
DynamicDependencyAttribute(System::Diagnostics::CodeAnalysis::DynamicallyAccessedMemberTypes memberTypes, System::String ^ typeName, System::String ^ assemblyName);
public DynamicDependencyAttribute (System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes, string typeName, string assemblyName);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes * string * string -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberTypes As DynamicallyAccessedMemberTypes, typeName As String, assemblyName As String)
Parameters
- memberTypes
- DynamicallyAccessedMemberTypes
The types of members depended on.
- typeName
- String
The full name of the type containing the specified members.
- assemblyName
- String
The assembly name of the type containing the specified members.
Applies to
DynamicDependencyAttribute(String, String, String)
Initializes a new instance of the DynamicDependencyAttribute class with the specified signature of a member on a type in an assembly.
public:
DynamicDependencyAttribute(System::String ^ memberSignature, System::String ^ typeName, System::String ^ assemblyName);
public DynamicDependencyAttribute (string memberSignature, string typeName, string assemblyName);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : string * string * string -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberSignature As String, typeName As String, assemblyName As String)
Parameters
- memberSignature
- String
The signature of the member depended on.
- typeName
- String
The full name of the type containing the specified member.
- assemblyName
- String
The assembly name of the type containing the specified member.