Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find Barrel class. #49

Closed
helgihg opened this issue Dec 28, 2018 · 3 comments
Closed

Can't find Barrel class. #49

helgihg opened this issue Dec 28, 2018 · 3 comments

Comments

@helgihg
Copy link

helgihg commented Dec 28, 2018

I'm hoping that this is the correct place to ask.

I've just installed MonkeyCache with NuGet on Visual Studio for Mac. The code examples in the README file show the use of a class called Barrel, such as Barrel.Current.Get and Barrel.Current.Add. Visual Studio does not find this class in my installation. It finds the interface IBarrel and BarrelUtils when MonkeyCache has been imported. I've tried messing around with both of those to try and achieve the same result as the code examples give but to no avail.

Code-completion in Visual Studio shows me 5 suggestions if I just type "MonkeyCache." and they are:

  • BarrelUtils
  • HttpCache
  • HttpCacheExtensions
  • HttpCacheRequestException
  • IBarrel

The first four are classes, the last one is of course an interface.

Kinda stuck at this point. Any help appreciated.

@helgihg
Copy link
Author

helgihg commented Dec 28, 2018

Of course I figured it out immediately after having asked. I needed to also install one of the storage mechanisms through NuGet.

This does not seem obvious to me by reading the README file, though. I'm tempted to send in a pull request with an updated README file, but also reluctant because I have yet to gain any experience whatsoever with the library. :) If I don't forget and no one else beats me to it, I'll try to remember to send in such a pull request once I've gotten the hang of using it.

@helgihg helgihg closed this as completed Dec 28, 2018
jamesmontemagno added a commit that referenced this issue Dec 28, 2018
@jamesmontemagno
Copy link
Owner

Added documentation around this!

@helgihg
Copy link
Author

helgihg commented Dec 31, 2018

Great, thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants