Merge pull request #757 from mlintner/master
[mono.git] / mcs / class / System.Web.Mvc3 / Mvc / ModelMetadataProvider.cs
1 namespace System.Web.Mvc {
2     using System.Collections.Generic;
3
4     public abstract class ModelMetadataProvider {
5         public abstract IEnumerable<ModelMetadata> GetMetadataForProperties(object container, Type containerType);
6
7         public abstract ModelMetadata GetMetadataForProperty(Func<object> modelAccessor, Type containerType, string propertyName);
8
9         public abstract ModelMetadata GetMetadataForType(Func<object> modelAccessor, Type modelType);
10     }
11 }