e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
11 lines
515 B
C#
11 lines
515 B
C#
namespace System.Web.ModelBinding {
|
|
// This interface is implemented by attributes which wish to contribute to the
|
|
// ModelMetadata creation process without needing to write a custom metadata
|
|
// provider. It is consumed by AssociatedMetadataProvider, so this behavior is
|
|
// automatically inherited by all classes which derive from it (notably, the
|
|
// DataAnnotationsModelMetadataProvider).
|
|
public interface IMetadataAware {
|
|
void OnMetadataCreated(ModelMetadata metadata);
|
|
}
|
|
}
|