Click or drag to resize

ValidationHelpers Class

Helper functions for validating fields/classes.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.ZoomValidationHelpers

Namespace:  NetQuarry.Services.Zoom
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static class ValidationHelpers

The ValidationHelpers type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetLength
Find length of a string. If string is null or empty, returns 0. Should never throw.
Public methodStatic memberValidateFieldsSet
Validates that fields are set. Will throw if anything is null or empty.
Public methodStatic memberValidateLength
Validates length of a string to be under a certain length. Will throw if string is too long or negative maxLen is provided.
If input string is null or empty, length is considered 0.
Top
See Also