public object CreateToolTip(ILanguage language, object @ref) { if (language == null) return null; if (@ref == null) return null; var ctx = new ToolTipContentCreatorContext(imageManager, dotNetImageManager, language, codeToolTipSettings); foreach (var creator in creators) { var ttObj = creator.Value.Create(ctx, @ref); if (ttObj != null) return ttObj; } return null; }
public object CreateToolTip(ILanguage language, object @ref) { if (language == null) { return(null); } if (@ref == null) { return(null); } var ctx = new ToolTipContentCreatorContext(imageManager, dotNetImageManager, language, codeToolTipSettings); foreach (var creator in creators) { var ttObj = creator.Value.Create(ctx, @ref); if (ttObj != null) { return(ttObj); } } return(null); }