/// <summary> /// Initializes a new instance of the StyleCopQuickFixBase class that can handle <see cref="StyleCopHighlightingBase"/> . /// </summary> /// <param name="highlight"> /// <see cref="StyleCopHighlightingBase"/> that has been detected. /// </param> /// <param name="initialise"> /// This value is not used, its only purpose is to differentiate the method signature. /// </param> protected StyleCopQuickFixBase(StyleCopHighlightingBase highlight, bool initialise) { this.Highlighting = highlight; this.InitialiseIfRequired(); }
/// <summary> /// Initializes a new instance of the SuppressStyleCopQuickFix class that can handle. /// </summary> /// <param name="highlight"> /// <see cref="StyleCopHighlightingWarning"/> that has been detected. /// </param> /// <param name="initialise"> /// True to initialize. /// </param> protected SuppressStyleCopQuickFix(StyleCopHighlightingBase highlight, bool initialise) { this.Highlighting = highlight; this.InitialiseBulbItems(); }