예제 #1
0
        public FSharpModuleResolvedSymbols(IPsiModule psiModule, int filesCount, FSharpCheckerService checkerService,
                                           IFcsProjectProvider fcsProjectProvider)
        {
            myFileResolvedSymbols = new FSharpFileResolvedSymbols[filesCount];

            PsiModule          = psiModule;
            CheckerService     = checkerService;
            FcsProjectProvider = fcsProjectProvider;
        }
        public FSharpResolvedSymbolsCache(Lifetime lifetime, FcsCheckerService checkerService, IPsiModules psiModules,
                                          IFcsProjectProvider fcsProjectProvider)
        {
            PsiModules         = psiModules;
            CheckerService     = checkerService;
            FcsProjectProvider = fcsProjectProvider;

            fcsProjectProvider.ModuleInvalidated.Advise(lifetime, Invalidate);
        }