public HexTextElementCreatorImpl(CTC.ITextElementProvider textElementProvider, VSTC.IClassificationFormatMap classificationFormatMap, string contentType) { this.textElementProvider = textElementProvider ?? throw new ArgumentNullException(nameof(textElementProvider)); this.classificationFormatMap = classificationFormatMap ?? throw new ArgumentNullException(nameof(classificationFormatMap)); this.contentType = contentType ?? throw new ArgumentNullException(nameof(contentType)); writer = new CTC.TextClassifierTextColorWriter(); }
HexTextElementCreatorProviderImpl(CTC.ITextElementProvider textElementProvider, VSTC.IClassificationFormatMapService classificationFormatMapService) { this.textElementProvider = textElementProvider; this.classificationFormatMapService = classificationFormatMapService; }