e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
11 lines
466 B
C#
11 lines
466 B
C#
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);
|
|
}
|
|
}
|
|
}
|