Beispiel #1
0
 public void ReceiverRegister <Task>(IRecevier receiver) where Task : BaseTask
 {
     if (!_receivers.ContainsKey(typeof(Task)))
     {
         _receivers.Add(typeof(Task), receiver);
     }
 }
 public Greeting(IRecevier recevier)
 {
     _recevier = recevier;
 }