15 lines
458 B
C#
15 lines
458 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Microsoft.AspNet.Mvc.ModelBinding
|
|
{
|
|
public interface IModelMetadataProvider
|
|
{
|
|
IEnumerable<ModelMetadata> GetMetadataForProperties(object container, Type containerType);
|
|
|
|
ModelMetadata GetMetadataForProperty(Func<object> modelAccessor, Type containerType, string propertyName);
|
|
|
|
ModelMetadata GetMetadataForType(Func<object> modelAccessor, Type modelType);
|
|
}
|
|
}
|