title: What is IViewLocationExpander.PopulateValues() for in Asp.Net Core MVC
body: <p>I'm using ASP.NET MVC CORE. I have implemented my own ViewLocationExpander so that I can structure my project the way I want and place my views where I like. </p>
  
  <p>This is accomplished by implementing a class that inherits from <code>IViewLocationExpander</code> and most of the work occurs in the following method: </p>
  
  <pre><code>ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable&lt;string&gt; viewLocations)
  </code></pre>
  
  <p>Everything is working pretty sweet but the interface defines a 2nd method that I don't know how to properly implement:</p>
  
  <pre><code>PopulateValues(ViewLocationExpanderContext context)
  </code></pre>
  
  <p>I've read articles all over the internet about this interface but no one has really provided much info on what exactly this method is for other than saying vague things about how it helps with caching. </p>
  
  <p>I'd really appreciate it if someone could explain how this method is used by the framework and how I can use it appropriately to aid caching if that is indeed what it is for.</p>