Ejemplo n.º 1
0
        /// <summary>
        /// Gets alternative file paths which the tool may exist in
        /// </summary>
        /// <param name="settings">The settings.</param>
        /// <returns>The default tool path.</returns>
        protected override IEnumerable <FilePath> GetAlternativeToolPaths(SignToolSignSettings settings)
        {
            var path = _resolver.GetPath();

            return(path != null
                ? new[] { path }
                : Enumerable.Empty <FilePath>());
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the default tool path.
 /// </summary>
 /// <param name="settings">The settings.</param>
 /// <returns>The default tool path.</returns>
 protected override FilePath GetDefaultToolPath(SignToolSignSettings settings)
 {
     return((settings == null ? null : settings.ToolPath)
            ?? _resolver.GetPath());
 }