Assembly: PostSharp (in PostSharp.dll) Version: 188.8.131.52 (184.108.40.206)
public interface ILocationValidationAspect<T> : ILocationValidationAspect, IAspect
- Type of values validated by the current aspect.
Thetype exposes the following members.
Validates the value being assigned to the location to which the current aspect has been applied.
An aspect will typically implement several generic instances of the current interface, with different values of T. The aspect can be applied only to locations for which there is an exact type match. PostSharp does not implement any type conversion, even when this conversion is implicitly supported by the compiler, for instance int to long. Therefore, if your aspect must be able to validate all integers, you may need to implement the interface instances for T ranging in long, int, short, sbyte and possibly their unsigned variant. However, values of a derived type can be validated if T is the base type.