CacheManager

Hi,

This page here http://confluence.jetbrains.net/display/ReSharper/Cache suggests that there should be a GetInstance static method on the CacheManager class however it's not present in the 6.1 SDK. Is there an alternative method to get an IDeclarationsCache for the solution?

Cheers,
Chris

0
1 comment
Avatar
Permanently deleted user

I worked it out.

You have to do this instead:

ISolution solution = ...;

solution.GetPsiServices().CacheManager.GetDeclarationsCache(...);

0

Please sign in to leave a comment.