C# Class Ocronet.Dynamic.Utils.Global

ファイルを表示 Open project: nickun/OCRonet

Public Properties

Property Type Description
environ string>.Dictionary
fatal_unknown_params bool
global_verbose_params string

Public Methods

Method Description
Debugf ( string which, string fmt ) : void

Вывод диагностического сообщения

GetEnv ( string varname ) : string
IsDebug ( string which ) : bool

Проверка является ли which отладочным (выводить отладочную информацию)

SetEnv ( string varname, string value ) : void

Private Methods

Method Description
Global ( ) : System

Method Details

Debugf() public static method

Вывод диагностического сообщения
public static Debugf ( string which, string fmt ) : void
which string может быть: info, warn, error, iodetail, training-detail
fmt string строка форматирования вида: {0}
return void

GetEnv() public static method

public static GetEnv ( string varname ) : string
varname string
return string

IsDebug() public static method

Проверка является ли which отладочным (выводить отладочную информацию)
public static IsDebug ( string which ) : bool
which string может быть: info, warn, error, iodetail, detail
return bool

SetEnv() public static method

public static SetEnv ( string varname, string value ) : void
varname string
value string
return void

Property Details

environ public_oe static_oe property

global environment parameters
public static Dictionary environ
return string>.Dictionary

fatal_unknown_params public_oe static_oe property

unknown parameters for a class are a fatal error
public static bool fatal_unknown_params
return bool

global_verbose_params public_oe static_oe property

a global variable that can be used to override the environment parameter verbose_params; mainly used for letting us write a command line program to print the default parameters for components
public static string global_verbose_params
return string