public UnityEventFunctionQuickDocPresenter(UnityEventFunction eventFunction, IClrDeclaredElement element, QuickDocTypeMemberProvider quickDocTypeMemberProvider, XmlDocHtmlPresenter xmlDocHtmlPresenter, HelpSystem helpSystem) : this(eventFunction, null, element, quickDocTypeMemberProvider, xmlDocHtmlPresenter, helpSystem) { myQuickDocTypeMemberProvider = quickDocTypeMemberProvider; }
public QuickDocTitleAndText GetHtml(PsiLanguageType presentationLanguage) { var element = myEnvoy.GetValidDeclaredElement(); if (element == null) { return(QuickDocTitleAndText.Empty); } // Present in the standard fashion var details = GetDetails(element); #if WAVE07 var text = XmlDocHtmlPresenter.Run(details, element.Module, element, presentationLanguage, XmlDocHtmlUtil.NavigationStyle.All, XmlDocHtmlUtil.CrefManager, myTheming); #else var text = XmlDocHtmlPresenter.Run(details, element.Module, element, presentationLanguage, XmlDocHtmlUtil.NavigationStyle.All, XmlDocHtmlUtil.ProcessCRef, myTheming); #endif var title = DeclaredElementPresenter.Format(presentationLanguage, DeclaredElementPresenter.FULL_NESTED_NAME_PRESENTER, element); return(new QuickDocTitleAndText(text, title)); }
public UnityEventFunctionQuickDocProvider(ISolution solution, UnityApi unityApi, DocumentManager documentManager, QuickDocTypeMemberProvider quickDocTypeMemberProvider, HelpSystem helpSystem, XmlDocHtmlPresenter presenter) { mySolution = solution; myUnityApi = unityApi; myDocumentManager = documentManager; myQuickDocTypeMemberProvider = quickDocTypeMemberProvider; myHelpSystem = helpSystem; myPresenter = presenter; }
public UnityEventFunctionQuickDocPresenter(UnityEventFunction eventFunction, string parameterName, IClrDeclaredElement element, QuickDocTypeMemberProvider quickDocTypeMemberProvider, XmlDocHtmlPresenter xmlDocHtmlPresenter, HelpSystem helpSystem) { myEventFunction = eventFunction; myParameterName = parameterName; myQuickDocTypeMemberProvider = quickDocTypeMemberProvider; myXMLDocHtmlPresenter = xmlDocHtmlPresenter; myHelpSystem = helpSystem; myEnvoy = new DeclaredElementEnvoy <IClrDeclaredElement>(element); }