コード例 #1
0
        public static FluentAssertionsPredefinedType GetFluentAssertionsPredefinedType([NotNull] this IPsiModule module)
        {
            var predefinedTypeCache = module.GetOrCreateDataNoLock(
                s_typeCacheKey,
                module,
                x => x.GetPsiServices().GetComponent <FluentAssertionsPredefinedTypeCache>());

            return(predefinedTypeCache.GetOrCreateFluentAssertionsPredefinedType(module));
        }
コード例 #2
0
 private static ISet <string> GetSuppressedHighlightingsForModule([NotNull] IPsiModule module)
 {
     return(module.GetOrCreateDataNoLock(SuppressedHighlightingKey, module, ResolveSuppressedHighlightingsByAssemblyAttributes));
 }