Esempio n. 1
0
 public void AgregarExcepxion(Type tipo, IHandlerErrorInformation handler)
 {
     if (!_map.ContainsKey(tipo))
     {
         _map.Add(tipo, handler);
     }
 }
Esempio n. 2
0
 public void AgregarExcepxion(Type tipo, IHandlerErrorInformation handler)
 {
     if (!_map.ContainsKey(tipo))
     {
         _map.Add(tipo, handler);
     }
 }
Esempio n. 3
0
 public void AgregarExcepxion <T>(Type tipo, IHandlerErrorInformation <T> handler) where T : Exception
 {
     lock (((IDictionary)_map).SyncRoot)
     {
         if (!_map.ContainsKey(tipo))
         {
             _map.Add(tipo, handler);
         }
     }
 }