Example #1
0
 public static IVsObjectSearchPane GetObjectSearchPane([NotNull] this SVsServiceProvider serviceProvider)
 {
     Requires.NotNull(serviceProvider, nameof(serviceProvider));
     return(serviceProvider.GetObjectSearch() as IVsObjectSearchPane);
 }
 public static IVsObjectSearchPane GetObjectSearchPane(this SVsServiceProvider serviceProvider)
 {
     Contract.Requires <ArgumentNullException>(serviceProvider != null, "serviceProvider");
     return(serviceProvider.GetObjectSearch() as IVsObjectSearchPane);
 }