Пример #1
0
 public FileComponent(ISobaScript soba, IEncDetector detector, IExer exer)
     : base(soba)
 {
     EncDetector = detector;
     Exer        = exer ?? throw new ArgumentNullException(nameof(exer));
     _envPath    = new Lazy <IEnumerable <string> >(() => GetEnvPath(EnvironmentVariableTarget.Process));
 }
Пример #2
0
 public FileComponent(ISobaScript soba, IEncDetector detector, string basePath)
     : this(soba, detector, new Exer(basePath))
 {
 }