Ejemplo n.º 1
0
 /** 
  * Register a factory method for parsing sender URIs.
  * @param type type of the sender.
  * @handler factory method for the given type.
  */
 public static void Register(string type, SenderFactoryDelegate handler) {
   lock( _handlers ) {
     _handlers[type] = handler;
   }
 }
Ejemplo n.º 2
0
 /**
  * Register a factory method for parsing sender URIs.
  * @param type type of the sender.
  * @handler factory method for the given type.
  */
 public static void Register(string type, SenderFactoryDelegate handler)
 {
     lock ( _handlers ) {
         _handlers[type] = handler;
     }
 }