Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public EfsTools(Logger logger)
 {
     _config = (EfsToolsConfigurationSection)ConfigurationManager.GetSection("efstool");
     _logger = logger;
 }