コード例 #1
0
        /// <summary>
        /// Creates a new solution instance with the project specified updated to have the new
        /// assembly name.
        /// </summary>
        public Solution WithProjectAssemblyName(ProjectId projectId, string assemblyName)
        {
            var newState = _state.WithProjectAssemblyName(projectId, assemblyName);

            if (newState == _state)
            {
                return(this);
            }

            return(new Solution(newState));
        }