a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
11 lines
506 B
C#
11 lines
506 B
C#
namespace System.Web.Mvc {
|
|
// 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);
|
|
}
|
|
}
|