public EfsTools(Logger logger) { var builder = new ConfigurationBuilder(); var module = Assembly.GetCallingAssembly().ManifestModule; var modulePath = $"{module.FullyQualifiedName}.config"; _configurationRoot = builder.AddXmlFile(modulePath, false, false).Build(); _config = new EfsToolsConfigurationSection(_configurationRoot); _logger = logger; }
public EfsTools(Logger logger) { _config = (EfsToolsConfigurationSection)ConfigurationManager.GetSection("efstool"); _logger = logger; }