C# Class System.Net.ValidationHelper

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0

Méthodes publiques

Свойство Type Description
EmptyArray string[]

Méthodes publiques

Méthode Description
ExceptionMessage ( Exception exception ) : string
HashString ( object objectValue ) : string
IsBlankString ( string stringValue ) : bool
IsInvalidHttpString ( string stringValue ) : bool
MakeEmptyArrayNull ( string stringArray ) : string[]
MakeStringNull ( string stringValue ) : string
ToString ( object objectValue ) : string
ValidateRange ( int actual, int fromAllowed, int toAllowed ) : bool
ValidateTcpPort ( int port ) : bool

Method Details

ExceptionMessage() public static méthode

public static ExceptionMessage ( Exception exception ) : string
exception System.Exception
Résultat string

HashString() public static méthode

public static HashString ( object objectValue ) : string
objectValue object
Résultat string

IsBlankString() public static méthode

public static IsBlankString ( string stringValue ) : bool
stringValue string
Résultat bool

IsInvalidHttpString() public static méthode

public static IsInvalidHttpString ( string stringValue ) : bool
stringValue string
Résultat bool

MakeEmptyArrayNull() public static méthode

public static MakeEmptyArrayNull ( string stringArray ) : string[]
stringArray string
Résultat string[]

MakeStringNull() public static méthode

public static MakeStringNull ( string stringValue ) : string
stringValue string
Résultat string

ToString() public static méthode

public static ToString ( object objectValue ) : string
objectValue object
Résultat string

ValidateRange() public static méthode

public static ValidateRange ( int actual, int fromAllowed, int toAllowed ) : bool
actual int
fromAllowed int
toAllowed int
Résultat bool

ValidateTcpPort() public static méthode

public static ValidateTcpPort ( int port ) : bool
port int
Résultat bool

Property Details

EmptyArray public_oe static_oe property

public static string[] EmptyArray
Résultat string[]