Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignToolSignRunner"/> class.
 /// </summary>
 /// <param name="fileSystem">The file system.</param>
 /// <param name="environment">The environment.</param>
 /// <param name="processRunner">The process runner.</param>
 /// <param name="tools">The tool locator.</param>
 /// <param name="registry">The registry.</param>
 /// <param name="resolver">The resolver.</param>
 internal SignToolSignRunner(
     IFileSystem fileSystem,
     ICakeEnvironment environment,
     IProcessRunner processRunner,
     IToolLocator tools,
     IRegistry registry,
     ISignToolResolver resolver) : base(fileSystem, environment, processRunner, tools)
 {
     _fileSystem  = fileSystem;
     _environment = environment;
     _resolver    = resolver ?? new SignToolResolver(_fileSystem, _environment, registry);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignToolSignRunner"/> class.
 /// </summary>
 /// <param name="fileSystem">The file system.</param>
 /// <param name="environment">The environment.</param>
 /// <param name="processRunner">The process runner.</param>
 /// <param name="globber">The globber.</param>
 /// <param name="registry">The registry.</param>
 /// <param name="resolver">The resolver.</param>
 internal SignToolSignRunner(
     IFileSystem fileSystem,
     ICakeEnvironment environment,
     IProcessRunner processRunner,
     IGlobber globber,
     IRegistry registry,
     ISignToolResolver resolver)
     : base(fileSystem, environment, processRunner, globber)
 {
     _fileSystem  = fileSystem;
     _environment = environment;
     _registry    = registry;
     _resolver    = resolver ?? new SignToolResolver(_fileSystem, _environment, _registry);
 }