C# Class lw_common.parse_config

Mostra file Open project: jtorjo/logwizard

Public Methods

Method Description
find_config_file ( string file_name_or_dir ) : string
is_config_file ( string config_file ) : bool
load_config_file ( string config_file ) : log_settings_string

Private Methods

Method Description
add_config_files_from_dir ( string dir, List config_files ) : void
attribute_ending_with ( XmlNode node, string name ) : XmlAttribute
parse_log4net_config_file ( XmlNode log4net_root, string config_file, log_settings_string config ) : void
parse_nlog_config_file ( XmlNode nlog_root, string config_file, log_settings_string config ) : void

Method Details

find_config_file() public static method

public static find_config_file ( string file_name_or_dir ) : string
file_name_or_dir string
return string

is_config_file() public static method

public static is_config_file ( string config_file ) : bool
config_file string
return bool

load_config_file() public static method

public static load_config_file ( string config_file ) : log_settings_string
config_file string
return log_settings_string