Visual Basic (Declaration) | |
---|---|
Public Property SortValue As Double |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Verifier Dim value As Double instance.SortValue = value value = instance.SortValue |
C# | |
---|---|
public double SortValue {get; set;} |
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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family