Пример #1
0
        public void ProjectDefined(ProjectId projectId, string projectOutcome, ProjectType type)
        {
            var project = new MutableProject(projectId, projectOutcome, type);

            _projectList.Add(project);
            _projects.Add(projectId, project);


            Publish(new Dumb.ProjectAdded(project.UIKey, projectOutcome, projectId));
        }
Пример #2
0
        public void ProjectDefined(ProjectId projectId, string projectOutcome, ProjectType type)
        {
            var project = new MutableProject(projectId, projectOutcome, type);
            _projectList.Add(project);
            _projects.Add(projectId, project);

            Publish(new Dumb.ProjectAdded(project.UIKey, projectOutcome, projectId));
        }