Guard validation clause list for object, string, int, double, decimal, datetime, timespan, URL.
Guard . AgainstNull ( name , "Name" ) ;
Guard . AgainstNullOrEmpty ( name , "Name" ) ;
Guard . AgainstMinimumLength ( name , "Name" , 10 ) ;
Guard . AgainstNumberLessThan ( money , "Money" , 1000 ) ;
Guard . AgainstNumberGreaterThanOrEqual ( money , "Money" , 1000 ) ;
Guard . AgainstNumberNegative ( money , "Money" ) ;
Guard . AgainstDateTimeGreaterThan ( startDate , "StartDate" , DateTime . Now ) ;
Guard . AgainstInValidURL ( "https://nilavpatel.github.io" , "URL" ) ;
AgainstNullOrEmpty
AgainstNullOrWhiteSpace
AgainstLeadingAndTailingSpace
AgainstMinimumLength
AgainstMaximumLength
AgainstSpecialCharacters
AgainstDigits
AgainstAlphabet
AgainstLowerCase
AgainstUpperCase
AgainstSpace
AgainstNumberLessThan
AgainstNumberGreaterThan
AgainstNumberLessThanOrEqual
AgainstNumberGreaterThanOrEqual
AgainstNumberZero
AgainstNumberNegative
AgainstNumberNegativeOrZero
AgainstNumberOutOfRange
AgainstDateTimeLessThan
AgainstDateTimeGreaterThan
AgainstDateTimeLessThanOrEqual
AgainstDateTimeGreaterThanOrEqual
AgainstDateTimeOutOfRange
AgainstTimeSpanLessThan
AgainstTimeSpanGreaterThan
AgainstTimeSpanLessThanOrEqual
AgainstTimeSpanGreaterThanOrEqual
AgainstTimeSpanOutOfRange
AgainstInValidURL
AgainstInValidEmailId
AgainstInValidGuid