C# Class MsgPack.Validation

Common validtion utility.
Afficher le fichier Open project: msgpack/msgpack-cli

Méthodes publiques

Méthode Description
ValidateIsNotNullNorEmpty ( string value, string parameterName ) : void
ValidateNamespace ( string @namespace, string parameterName ) : void

Private Methods

Méthode Description
IsPrintable ( UnicodeCategory category ) : bool

Determine specified category is printiable.

This method is conservative, but application cannot print the charactor because appropriate font is not installed the machine.

Method Details

ValidateIsNotNullNorEmpty() public static méthode

public static ValidateIsNotNullNorEmpty ( string value, string parameterName ) : void
value string
parameterName string
Résultat void

ValidateNamespace() public static méthode

public static ValidateNamespace ( string @namespace, string parameterName ) : void
@namespace string
parameterName string
Résultat void