File: ModelBinding\EmptyModelMetadataProvider.cs | |
Project: ndp\fx\src\xsp\system\Web\System.Web.csproj (System.Web) |
namespace System.Web.ModelBinding { using System; using System.Collections.Generic; public class EmptyModelMetadataProvider : AssociatedMetadataProvider { protected override ModelMetadata CreateMetadata(IEnumerable<Attribute> attributes, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName) { return new ModelMetadata(this, containerType, modelAccessor, modelType, propertyName); } } } |