Beispiel #1
0
 public override void SendMessage(IMessage message)
 {
     message.Text = $"{message.Text}\nYours faithfully {message.Author}";
     Decoratee.SendMessage(message);
 }
 public override void SendMessage(IMessage message)
 {
     message.Author    = new String('*', message.Author.Length);
     message.Recipient = new String('-', message.Recipient.Length);
     Decoratee.SendMessage(message);
 }