DynamicDependencyAttribute 构造函数

定义

重载

DynamicDependencyAttribute(String)

使用与使用者所在类型相同的成员的指定签名初始化 DynamicDependencyAttribute 类的新实例。

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type)

使用 Type 上指定的成员类型初始化 DynamicDependencyAttribute 类的新实例。

DynamicDependencyAttribute(String, Type)

使用 Type 上成员指定签名初始化 DynamicDependencyAttribute 类的新实例。

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, String, String)

使用程序集中某一类型上指定成员类型初始化 DynamicDependencyAttribute 类的新实例。

DynamicDependencyAttribute(String, String, String)

使用程序集中某一类型上成员指定签名初始化 DynamicDependencyAttribute 类的新实例。

DynamicDependencyAttribute(String)

Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs

使用与使用者所在类型相同的成员的指定签名初始化 DynamicDependencyAttribute 类的新实例。

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)

参数

memberSignature
String

受依赖成员的签名。

适用于

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type)

Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs

使用 Type 上指定的成员类型初始化 DynamicDependencyAttribute 类的新实例。

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)

参数

memberTypes
DynamicallyAccessedMemberTypes

受依赖成员的类型。

type
Type

包含指定成员的类型。

适用于

DynamicDependencyAttribute(String, Type)

Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs

使用 Type 上成员指定签名初始化 DynamicDependencyAttribute 类的新实例。

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)

参数

memberSignature
String

受依赖成员的签名。

type
Type

包含 memberSignature 的类型。

适用于

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, String, String)

Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs

使用程序集中某一类型上指定成员类型初始化 DynamicDependencyAttribute 类的新实例。

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)

参数

memberTypes
DynamicallyAccessedMemberTypes

受依赖成员的类型。

typeName
String

包含指定成员的类型的完整名称。

assemblyName
String

包含指定成员的类型的程序集名称。

适用于

DynamicDependencyAttribute(String, String, String)

Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs
Source:
DynamicDependencyAttribute.cs

使用程序集中某一类型上成员指定签名初始化 DynamicDependencyAttribute 类的新实例。

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)

参数

memberSignature
String

受依赖成员的签名。

typeName
String

包含指定成员的类型的完整名称。

assemblyName
String

包含指定成员的类型的程序集名称。

适用于