/// <summary> /// Initializes a new instance of the <c>SyntaxEditorStepBroTokenTaggerProvider</c> class. /// </summary> /// <param name="classificationTypeProvider">A <see cref="IStepBroClassificationTypeProvider"/> that provides classification types.</param> public StepBroTokenTaggerProvider(IStepBroClassificationTypeProvider classificationTypeProvider) { if ((classificationTypeProvider == null)) { throw new ArgumentNullException("classificationTypeProvider"); } // Initialize this.classificationTypeProviderValue = classificationTypeProvider; }
/// <summary> /// Initializes a new instance of the <c>SimpleTokenTagger</c> class. /// </summary> /// <param name="document">The specific <see cref="ICodeDocument"/> for which this token tagger will be used.</param> /// <param name="classificationTypeProvider">A <see cref="IStepBroClassificationTypeProvider"/> that provides classification types used by this token tagger.</param> public StepBroTokenTagger(ICodeDocument document, IStepBroClassificationTypeProvider classificationTypeProvider) : base(document) { // Initialize classificationTypeProviderValue = classificationTypeProvider ?? throw new ArgumentNullException("classificationTypeProvider"); }