C# Class MsgPack.Validation

Common validtion utility.
Exibir arquivo Open project: msgpack/msgpack-cli

Public Methods

Method Description
ValidateIsNotNullNorEmpty ( string value, string parameterName ) : void
ValidateNamespace ( string @namespace, string parameterName ) : void

Private Methods

Method 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 method

public static ValidateIsNotNullNorEmpty ( string value, string parameterName ) : void
value string
parameterName string
return void

ValidateNamespace() public static method

public static ValidateNamespace ( string @namespace, string parameterName ) : void
@namespace string
parameterName string
return void