예제 #1
0
        /// <summary>
        /// The directory containing the solution-file is the solution-directory.
        /// </summary>
        public static SolutionDirectoryPath GetSolutionDirectoryPath(SolutionFilePath solutionFilePath)
        {
            var solutionDirectoryPath = PathUtilities.GetDirectoryPath(solutionFilePath).AsSolutionDirectoryPath();

            return(solutionDirectoryPath);
        }
        public static SolutionFilePath AsSolutionFilePath(this FilePath filePath)
        {
            var solutionFilePath = new SolutionFilePath(filePath.Value);

            return(solutionFilePath);
        }