public ControllerGoToDefinition(IVsTextView adapter, IWpfTextView textView, DTE dte, IStandardClassificationService standardClassifications, INgHierarchyProvider ngHierarchyProvider) : base(adapter, textView, VSConstants.VSStd97CmdID.GotoDefn)
 {
     this.adapter = adapter;
     this.dte     = dte;
     this.standardClassifications = standardClassifications;
     this.ngHierarchyProvider     = ngHierarchyProvider;
 }
Ejemplo n.º 2
0
        public DirectiveGoToDefinition(IVsTextView adapter, IWpfTextView textView, DTE dte, INgHierarchyProvider ngHierarchyProvider)
            : base(adapter, textView, VSConstants.VSStd97CmdID.GotoDefn)
        {
            HtmlEditorDocument document = HtmlEditorDocument.TryFromTextView(textView);

            this.tree = document == null ? null : document.HtmlEditorTree;
            this.dte  = dte;
            this.ngHierarchyProvider = ngHierarchyProvider;
        }
Ejemplo n.º 3
0
 public ControllerCompletionSource(ITextBuffer textBuffer, INgHierarchyProvider ngHierarchyProvider)
 {
     this.textBuffer          = textBuffer;
     this.ngHierarchyProvider = ngHierarchyProvider;
 }
 public StateCompletionSource(ITextBuffer textBuffer, INgHierarchyProvider ngHierarchyProvider)
 {
     this.textBuffer = textBuffer;
     this.ngHierarchyProvider = ngHierarchyProvider;
 }