コード例 #1
0
ファイル: ToolLocator.cs プロジェクト: jnm2/cake
        /// <summary>
        /// Registers the specified tool file path.
        /// </summary>
        /// <param name="path">The tool path.</param>
        public void RegisterFile(FilePath path)
        {
            if (path == null)
            {
                throw new ArgumentNullException(nameof(path));
            }

            _repository.Register(path.MakeAbsolute(_environment));
        }