Esempio n. 1
0
 public void Update(ICelebrity celebrity)
 {
     Console.WriteLine($"Fan powiadomiony. Tweet {celebrity.FullName}: " +
                       $"{celebrity.Tweet}");
 }
Esempio n. 2
0
 public void Update(ICelebrity celebrity)
 {
     Console.WriteLine($"Fan {this.name} notified. Tweet of {celebrity.FullName}: " +
                       $"{celebrity.Tweet}");
 }
Esempio n. 3
0
 public void Update(ICelebrity celebrity)
 {
     Console.WriteLine($"{nameOfObserver} has received an alert from {celebrity.Name}. Updated value is: {celebrity.Flag}");
 }
Esempio n. 4
0
 public void Update(ICelebrity celebrity)
 {
     Console.WriteLine($"Fan notified - {Name}. Tweet of {celebrity.FullName} : {celebrity.Tweet}");
 }
 public void Update(ICelebrity celeb)
 {
     Console.WriteLine($"{nameOfObserver} notified.Inside {celeb.Name}, the updated value is: {celeb.Flag}");
 }
Esempio n. 6
0
 public void Update(ICelebrity celebrity)
 {
     Console.WriteLine($"The fan {_name} has been notified for the tweet: {celebrity.Tweet} from the celebrity {celebrity.FullName}");
 }