Corresponding changes for changing AssociatedMetadataProvider's interface

This commit is contained in:
Harsh Gupta 2014-11-26 17:30:45 -08:00
parent 1120863c84
commit 688771ad10
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace MusicStore.Spa.Infrastructure
{
public class BuddyModelMetadataProvider : DataAnnotationsModelMetadataProvider
{
protected override CachedDataAnnotationsModelMetadata CreateMetadataPrototype(IEnumerable<Attribute> attributes, Type containerType, Type modelType, string propertyName)
protected override CachedDataAnnotationsModelMetadata CreateMetadataPrototype(IEnumerable<object> attributes, Type containerType, Type modelType, string propertyName)
{
var realTypeMetadata = base.CreateMetadataPrototype(attributes, containerType, modelType, propertyName);
var buddyType = BuddyTypeAttribute.GetBuddyType(modelType);