Ejemplo n.º 1
0
 public NRefactoryIssueProvider(ICSharpCode.NRefactory.PlayScript.Refactoring.ICodeIssueProvider issue, IssueDescriptionAttribute attr)
 {
     issueProvider    = issue;
     providerIdString = issueProvider.GetType().FullName;
     Category         = GettextCatalog.GetString(attr.Category ?? "");
     Title            = GettextCatalog.GetString(attr.Title ?? "");
     Description      = GettextCatalog.GetString(attr.Description ?? "");
     DefaultSeverity  = (ICSharpCode.NRefactory.CSharp.Severity)attr.Severity;
     IssueMarker      = (ICSharpCode.NRefactory.CSharp.IssueMarker)attr.IssueMarker;
     MimeType         = "text/x-playscript";
 }
		public NRefactoryIssueProvider (ICSharpCode.NRefactory.PlayScript.Refactoring.ICodeIssueProvider issue, IssueDescriptionAttribute attr)
		{
			issueProvider = issue;
			providerIdString = issueProvider.GetType ().FullName;
			Category = GettextCatalog.GetString (attr.Category ?? "");
			Title = GettextCatalog.GetString (attr.Title ?? "");
			Description = GettextCatalog.GetString (attr.Description ?? "");
			DefaultSeverity = (ICSharpCode.NRefactory.CSharp.Severity)attr.Severity;
			IssueMarker = (ICSharpCode.NRefactory.CSharp.IssueMarker)attr.IssueMarker;
			MimeType = "text/x-playscript";
		}