-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAssemblyAsCSV.cs
52 lines (48 loc) · 2.08 KB
/
AssemblyAsCSV.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System;
using System.Reflection;
namespace InfoExtractor
{
public class DiagnosticInfoAsCSV
{
public DiagnosticInfoAsCSV(
String packageName,
Assembly assembly,
String type,
String diagnosticID = null,
String diagnosticTitle = null,
String diagnosticDescription = null,
String diagnosticDefaultSeverity = null,
String diagnosticCategory = null,
String diagnosticCustomTags = null,
String containsFixAllProvider = null,
String fixAllProviderSupportedScopes = null,
String refactoringName = null
)
{
this.NuGetAnalyzerPackage = packageName;
this.AssemblyName = assembly.GetName().Name;
this.Type = type;
this.DiagnosticID = diagnosticID;
this.DiagnosticTitle = diagnosticTitle;
this.DiagnosticDescription = diagnosticDescription;
this.DiagnosticDefaultSeverity = diagnosticDefaultSeverity;
this.DiagnosticCategory = diagnosticCategory;
this.DiagnosticCustomTags = diagnosticCustomTags;
this.ContainsFixAllProvider = containsFixAllProvider;
this.FixAllProviderSupportedScopes = fixAllProviderSupportedScopes;
this.RefactoringName = refactoringName;
}
public String NuGetAnalyzerPackage { get; set; }
public String AssemblyName { get; set; }
public String Type { get; set; }
public String DiagnosticID { get; set; }
public String DiagnosticTitle { get; set; }
public String DiagnosticDescription { get; set; }
public String DiagnosticDefaultSeverity { get; set; }
public String DiagnosticCategory { get; set; }
public String DiagnosticCustomTags { get; set; }
public String ContainsFixAllProvider { get; set; } // Using String instead of Boolean to keep null-initialisiation possible
public String FixAllProviderSupportedScopes { get; set; }
public String RefactoringName { get; set; }
}
}