IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > ListVerifier Class > ListVerifier Constructor : ListVerifier Constructor(Type,String,Boolean,IEnumerable,String,Nullable<Boolean>) |
'Declaration
Public Function New( _ ByVal type As Type, _ ByVal propertyName As String, _ ByVal isRequired As Boolean, _ ByVal list As IEnumerable, _ Optional ByVal displayName As String, _ Optional ByVal shouldTreatEmptyStringAsNull As Nullable(Of Boolean) _ )
'Usage
Dim type As Type Dim propertyName As String Dim isRequired As Boolean Dim list As IEnumerable Dim displayName As String Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean) Dim instance As New ListVerifier(type, propertyName, isRequired, list, displayName, shouldTreatEmptyStringAsNull)
public ListVerifier( Type type, string propertyName, bool isRequired, IEnumerable list, string displayName, Nullable<bool> shouldTreatEmptyStringAsNull )
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