Exemplo n.º 1
0
        public static ProjectFileName GetProjectFileName(ProjectFilePath projectFilePath)
        {
            var projectFileName = PathUtilities.GetFileName(projectFilePath).AsProjectFileName();

            return(projectFileName);
        }
Exemplo n.º 2
0
        /// <summary>
        /// The directory containing the project-file is the project-directory.
        /// </summary>
        public static ProjectDirectoryPath GetProjectDirectoryPath(ProjectFilePath projectFilePath)
        {
            var projectDirectoryPath = PathUtilities.GetDirectoryPath(projectFilePath).AsProjectDirectoryPath();

            return(projectDirectoryPath);
        }
        public static ProjectFilePath AsProjectFilePath(this FilePath filePath)
        {
            var projectFilePath = new ProjectFilePath(filePath.Value);

            return(projectFilePath);
        }