Example #1
0
 //LD STEP 6 - create a METHOD SUBSCRIBER with the same signature of the DELEGATE
 public void OnVideoEncoded(object source, VideoEventArgs e)
 {
     Console.WriteLine("MailSerivice: Sending an Email..." + e.Video.Title);
 }
Example #2
0
 //LD STEP 6 - create a METHOD SUBSCRIBER with the same signature of the DELEGATE
 public void OnVideoEncoded(object source, VideoEventArgs e)
 {
     Console.WriteLine("Message Service: Sending a message..." + e.Video.Title);
 }