DevForce Help Reference
SortValue Property (Verifier)


Gets or sets the order that verifiers are executed within a verifier batch.
Syntax
'Declaration
 
Public Property SortValue As Double
'Usage
 
Dim instance As Verifier
Dim value As Double
 
instance.SortValue = value
 
value = instance.SortValue
public double SortValue {get; set;}
Remarks
By default, verifiers are executed in the order that they were added to the VerifierEngine. However it is possible to change this order via the this property.

All verifiers by default have a SortValue of 0. However, verifiers also have an InitializationOrder that corresponds to the order that the verifier was added to a VerifierEngine. Verifiers are always sorted for execution first by the externally exposed SortValue and secondly by their InitializationOrder. This implementation means that verifiers have an implicit sort order that is defined according to when each verifier was added to a VerifierEngine. This means that by default verifiers defined with a VerifierAttribute will sort before verifiers defined via a VerifierProvider, which in turn, will sort before any programmatically added verifiers. Furthermore, discovered base class verifiers will sort before discovered subclass verifiers.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Verifier Class
Verifier Members

Send Feedback