1 namespace System.Web.Mvc {
2 using System.Collections.Generic;
4 public abstract class ModelMetadataProvider {
5 public abstract IEnumerable<ModelMetadata> GetMetadataForProperties(object container, Type containerType);
7 public abstract ModelMetadata GetMetadataForProperty(Func<object> modelAccessor, Type containerType, string propertyName);
9 public abstract ModelMetadata GetMetadataForType(Func<object> modelAccessor, Type modelType);