Ejemplo n.º 1
0
 public void ChangeName(string newName)
 {
     Name = newName;
     var nameChanged = new NameChanged
         {
             NewName = newName,
             Account = this,
         };
     NotifyObservers(nameChanged);
 }
Ejemplo n.º 2
0
        public void ChangeName(string newName)
        {
            Name = newName;
            var nameChanged = new NameChanged
            {
                NewName = newName,
                Account = this,
            };

            NotifyObservers(nameChanged);
        }