DiagnosticAnalyzerAttribute(String, String[]) 构造函数

定义

用于指定诊断分析器的自动应用程序的属性构造函数。

public:
 DiagnosticAnalyzerAttribute(System::String ^ firstLanguage, ... cli::array <System::String ^> ^ additionalLanguages);
public DiagnosticAnalyzerAttribute (string firstLanguage, params string[] additionalLanguages);
new Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerAttribute : string * string[] -> Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerAttribute
Public Sub New (firstLanguage As String, ParamArray additionalLanguages As String())

参数

firstLanguage
String

分析器适用的一种语言。

additionalLanguages
String[]

分析器适用的其他语言。 请参阅 LanguageNames

适用于