IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > Verifier Class : SortValue 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.
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