NoFutureDateAttributeIsValid Method

Validates the specified value with respect to the current validation attribute.

Definition

Namespace: Common.Wpf.Attributes
Assembly: Common.Wpf.Resources (in Common.Wpf.Resources.dll) Version: 2.0.6
C#
protected override ValidationResult? IsValid(
	Object? value,
	ValidationContext validationContext
)

Parameters

value  Object
The value to validate.
validationContext  ValidationContext
The context information about the validation operation.

Return Value

ValidationResult
An instance of the ValidationResult class.

Exceptions

InvalidOperationExceptionThe current attribute is malformed.
NotImplementedExceptionIsValid(Object, ValidationContext) has not been implemented by a derived class.

See Also