11 lines
466 B
C#
Raw Normal View History

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);
}
}
}