Beispiel #1
0
        public void Rename(string newName)
        {
            ValidateName(newName);

            var e = new ProjectRenamed(newName);
            ApplyEvent(e);
        }
Beispiel #2
0
 private void OnProjectRenamed(ProjectRenamed e)
 {
     _name = e.NewName;
 }