public void UnregisterForNotification(Type objectType, NotificationEngineDelegate notificationDelegate)
 {
     if (notificationList.ContainsKey(objectType))
     {
         notificationList[objectType].Remove(notificationDelegate);
     }
 }
 public void RegisterForNotification(Type objectType, NotificationEngineDelegate notificationDelegate)
 {
     if (!notificationList.ContainsKey(objectType))
     {
         notificationList[objectType] = new List <NotificationEngineDelegate>();
     }
     notificationList[objectType].Add(notificationDelegate);
 }