コード例 #1
0
        private void publishProjects(List <ChangedFile> totalListOfProjects)
        {
            if (totalListOfProjects.Count == 0)
            {
                return;
            }
            var projectChange = new ProjectChangeMessage();

            projectChange.AddFile(totalListOfProjects.ToArray());
            Debug.AboutToPublishProjectChanges(projectChange);
            _bus.Publish(projectChange);
        }