src/Azos.Wave/WorkDispatcher.cs
/// <summary>
/// Registers handler and returns true if the named instance has not been registered yet
/// Note: it is possible to call this method on active server that is - inject handlers while serving requests
/// </summary>
Registers handler and returns true if the named instance has not been registered yet
Note: it is possible to call this method on active server that is - inject handlers while serving requests
Registers handler and returns true if the named instance has not been registered yet Note : it is possible to call this method on active server that is - inject handlers while serving requests
public bool RegisterHandler(WorkHandler handler)
        {
          if (handler==null) return false;
          if (handler.Dispatcher!=this)
            throw new WaveException(StringConsts.WRONG_DISPATCHER_HANDLER_REGISTRATION_ERROR.Args(handler));
          return m_Handlers.Register(handler);
        }
public bool RegisterHandler ( WorkHandler handler ) { if ( handler == null ) return false ; if ( handler . Dispatcher != this ) throw new WaveException ( StringConsts . WRONG_DISPATCHER_HANDLER_REGISTRATION_ERROR . Args ( handler ) ) ; return m_Handlers . Register ( handler ) ; }
Registers handler and returns true if the named instance has not been registered yet
Note: it is possible to call this method on active server that is - inject handlers while serving requests
Registers handler and returns true if the named instance has not been registered yet Note : it is possible to call this method on active server that is - inject handlers while serving requests
handler
WorkHandler