Exemplo n.º 1
0
        public BaseNRefactoryIssueProvider(NRefactoryIssueProvider parentIssue, SubIssueAttribute subIssue)
        {
            this.parentIssue = parentIssue;
            this.subIssue    = subIssue;
            this.Title       = subIssue.Title;
            this.Description = subIssue.Description;

            DefaultSeverity = subIssue.HasOwnSeverity ? subIssue.Severity : parentIssue.DefaultSeverity;
            UpdateSeverity();
        }
        public BaseNRefactoryIssueProvider(NRefactoryIssueProvider parentIssue, SubIssueAttribute subIssue)
        {
            this.parentIssue = parentIssue;
            this.subIssue    = subIssue;
            this.Title       = subIssue.Title;
            this.Description = subIssue.Description;

            DefaultSeverity = subIssue.HasOwnSeverity ? subIssue.Severity : parentIssue.DefaultSeverity;
            UpdateSeverity();

            counter = InstrumentationService.CreateTimerCounter(IdString, "CodeIssueProvider run times");
        }