PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Required­Attribute Class / Required­Attribute Methods

RequiredAttribute Methods

The RequiredAttribute type exposes the following members.

Public methodRuntimeInitialize
Initializes the aspect at runtime.
(Inherited from LocationContractAttribute.)
Public methodValidateValueDynamic
Validates a weakly-typed (boxed) value, typically the value of a dependency property or an attached property.
(Overrides LocationContractAttribute.ValidateValueDynamic(Object, String, LocationKind, LocationValidationContext).)
See Also