C# Class JavaScriptEngineSwitcher.Core.Helpers.ValidationHelpers

Validation helpers
ファイルを表示 Open project: Taritsyn/JavaScriptEngineSwitcher

Public Methods

Method Description
CheckNameFormat ( string name ) : bool

Checks a format of the name

IsPrimitiveType ( Type type ) : bool

Checks whether .NET type is primitive

IsSupportedType ( Type type ) : bool

Checks whether supports a .NET type

Method Details

CheckNameFormat() public static method

Checks a format of the name
public static CheckNameFormat ( string name ) : bool
name string The name
return bool

IsPrimitiveType() public static method

Checks whether .NET type is primitive
public static IsPrimitiveType ( Type type ) : bool
type System.Type .NET type
return bool

IsSupportedType() public static method

Checks whether supports a .NET type
public static IsSupportedType ( Type type ) : bool
type System.Type .NET type
return bool