IdeaBlade DevForce 2010 Help Reference
DiscoverVerifiers Method
See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > VerifierEngine Class : DiscoverVerifiers Method



type
Forces the discovery of verifiers associated with a specific type.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub DiscoverVerifiers( _
   ByVal type As Type _
) 
Visual Basic (Usage)Copy Code
Dim instance As VerifierEngine
Dim type As Type
 
instance.DiscoverVerifiers(type)
C# 
public virtual void DiscoverVerifiers( 
   Type type
)
C++/CLI 
public:
virtual void DiscoverVerifiers( 
   Type^ type
) 

Parameters

type

Remarks

Discovers all base class verifiers before derived class verifiers. Verifiers are discovered in the following order: attributed verifiers on the type, attributed verifiers on the "buddy" class, and finally verifiers provided from any IVerifierProvider implementations. In Silverlight applications, the standard Silverlight validation attributes will be discovered during attributed discovery.

This method should not in general need to be called since verifiers will be lazily discovered on an as-needed basis when they are first referenced.

Requirements

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

See Also

© 2013 All Rights Reserved.