示例#1
0
        internal Solution WithNewWorkspace(Workspace workspace, int workspaceVersion)
        {
            var newState = _state.WithNewWorkspace(workspace, workspaceVersion);

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

            return(new Solution(newState));
        }