public TextBlock ToTextBlock(SignalTriggerCodeModel codeModel) {

            var textBlock = new TextBlock { TextWrapping = TextWrapping.Wrap };
            var formatMap = _classificationFormatMapService.GetClassificationFormatMap("tooltip");

            textBlock.SetDefaultTextProperties(formatMap);

            //var nsRun = ToRun(codeModel.WflNamespace+".", SyntaxTokenClassification.Identifier, formatMap);
            //textBlock.Inlines.Add(nsRun);

            var typeRun = ToRun(codeModel.TaskCodeModel.WfsTypeName, SyntaxTokenClassification.TaskName, formatMap);
            textBlock.Inlines.Add(typeRun);

            var methodRun = ToRun("."+ codeModel.TriggerLogicMethodName + "()", SyntaxTokenClassification.Identifier, formatMap);
            textBlock.Inlines.Add(methodRun);

            return textBlock;
        }
 public TriggerDeclarationLocationInfoProvider(ITextBuffer sourceBuffer, SignalTriggerCodeModel signalTriggerCodeModel): base(sourceBuffer) {
     _signalTriggerCodeModel  = signalTriggerCodeModel;
 }