/** * 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; } }
/** * 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; } }