PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Not­Empty­Attribute Class / Not­Empty­Attribute Methods

NotEmptyAttribute Methods

The NotEmptyAttribute 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