1 namespace System.Web.Mvc {
2 // This interface is implemented by attributes which wish to contribute to the
3 // ModelMetadata creation process without needing to write a custom metadata
4 // provider. It is consumed by AssociatedMetadataProvider, so this behavior is
5 // automatically inherited by all classes which derive from it (notably, the
6 // DataAnnotationsModelMetadataProvider).
7 public interface IMetadataAware {
8 void OnMetadataCreated(ModelMetadata metadata);