private static void MapFromProjectToProjectMetadata(Project item, ProjectMetadata output)
        {
            _logger.Trace("Entering");

            PartialMapper.Map(item, output);

            _logger.Trace("Exiting");
        }
        /// <summary>
        ///     Update this instance from a Solution.
        /// </summary>
        /// <param name="item"></param>
        public void UpdateFromSolution(Solution item)
        {
            _logger.Trace("Entering");

            PartialMapper.Map(item, this);

            _logger.Trace("Exiting");
        }
        /// <summary>
        ///     Update this instance from a project.
        /// </summary>
        /// <param name="item"></param>
        public void UpdateFromProject(Project item)
        {
            _logger.Trace("Entering");

            PartialMapper.Map(item, this);

            _logger.Trace("Exiting");
        }
        private static void MapFromSolutionToSolutionMetadata(Solution item, SolutionMetadata output)
        {
            _logger.Trace("Entering");

            PartialMapper.Map(item, output);

            if (item.Projects != null)
            {
                output.ProjectMetadatas = new List <ProjectMetadata>();

                foreach (var project in item.Projects)
                {
                    output.Projects.Add(new ProjectMetadata(null, project));
                }
            }

            _logger.Trace("Exiting");
        }