Beispiel #1
0
 public static IVsFontAndColorUtilities GetFontAndColorUtilities([NotNull] this SVsServiceProvider serviceProvider)
 {
     Requires.NotNull(serviceProvider, nameof(serviceProvider));
     return((IVsFontAndColorUtilities)serviceProvider.GetFontAndColorStorage());
 }
 public static IVsFontAndColorUtilities GetFontAndColorUtilities(this SVsServiceProvider serviceProvider)
 {
     Contract.Requires <ArgumentNullException>(serviceProvider != null, "serviceProvider");
     return((IVsFontAndColorUtilities)serviceProvider.GetFontAndColorStorage());
 }