title: Configure Custom MetadataProvider for ViewModel
body: <p>I have a ViewModel for which want to be able to set Metadata properties dynamically. For example I would like to be able to customise the DisplayName and validation error messages using the value of other model properties. I plan to do this with a custom MetadataProvider, following <a href="http://bradwilson.typepad.com/blog/2010/01/why-you-dont-need-modelmetadataattributes.html" rel="nofollow">Brad Wilson's article</a>. </p>
  
  <p>I want the provider only to be used with selected ViewModels. So my question is, how do I configure that? I have seen examples using <code>ModelMetadataProviders.Current = new MyModelMetadataProvider()</code>, but this would presumably use the custom provider for all model classes entities. Is it possible to configure a provider for a single ViewModel?</p>