public NRefactoryIssueProvider(ICSharpCode.NRefactory.CSharp.Refactoring.ICodeIssueProvider issue, IssueDescriptionAttribute attr) { issueProvider = issue; MimeType = "text/x-csharp"; Category = GettextCatalog.GetString(attr.Category ?? ""); Title = GettextCatalog.GetString(attr.Title ?? ""); Description = GettextCatalog.GetString(attr.Description ?? ""); DefaultSeverity = attr.Severity; IssueMarker = attr.IssueMarker; }
public NRefactoryIssueProvider (ICSharpCode.NRefactory.CSharp.Refactoring.ICodeIssueProvider issue, IssueDescriptionAttribute attr) { issueProvider = issue; MimeType = "text/x-csharp"; Category = GettextCatalog.GetString (attr.Category ?? ""); Title = GettextCatalog.GetString (attr.Title ?? ""); Description = GettextCatalog.GetString (attr.Description ?? ""); DefaultSeverity = attr.Severity; IssueMarker = attr.IssueMarker; }