1010
1111namespace GitHub . Services . Vssdk . Services
1212{
13+ /// <summary>
14+ /// This service is a thin wrapper around <see cref="Microsoft.Internal.VisualStudio.Shell.Interop.IVsTippingService"/>.
15+ /// </summary>
16+ /// <remarks>
17+ /// The <see cref="IVsTippingService"/> interface is public, but contained within the 'Microsoft.VisualStudio.Shell.UI.Internal' assembly.
18+ /// To avoid a direct dependency on 'Microsoft.VisualStudio.Shell.UI.Internal', we use reflection to call this service.
19+ /// </remarks>
1320 public class TippingService : ITippingService
1421 {
1522 static readonly ILogger log = LogManager . ForContext < TippingService > ( ) ;
@@ -24,6 +31,7 @@ public TippingService(IServiceProvider serviceProvider)
2431 this . serviceProvider = serviceProvider ;
2532 }
2633
34+ /// <inheritdoc/>
2735 public void RequestCalloutDisplay ( Guid calloutId , string title , string message ,
2836 bool isPermanentlyDismissible , FrameworkElement targetElement ,
2937 Guid vsCommandGroupId , uint vsCommandId )
@@ -35,7 +43,7 @@ public void RequestCalloutDisplay(Guid calloutId, string title, string message,
3543 point , vsCommandGroupId , vsCommandId ) ;
3644 }
3745
38- // Available on Visual Studio 2017
46+ // The option to pass a command option is only available on Visual Studio 2017+.
3947 void RequestCalloutDisplay ( Guid clientId , Guid calloutId , string title , string message ,
4048 bool isPermanentlyDismissible , FrameworkElement targetElement ,
4149 Guid vsCommandGroupId , uint vsCommandId , object commandOption = null )
0 commit comments