Interface IRequestHandlers
public interface IRequestHandlers
- Extension Methods
Methods
AddOrUpdate(MessageMethod, Func<IRequestHandler>, Func<IRequestHandler, IRequestHandler>)
void AddOrUpdate(MessageMethod method, Func<IRequestHandler> addHandlerFunc, Func<IRequestHandler, IRequestHandler> updateHandlerFunc)
Parameters
methodMessageMethodaddHandlerFuncFunc<IRequestHandler>updateHandlerFuncFunc<IRequestHandler, IRequestHandler>
TryAdd(MessageMethod, IRequestHandler)
bool TryAdd(MessageMethod method, IRequestHandler handler)
Parameters
methodMessageMethodhandlerIRequestHandler
Returns
TryGet(MessageMethod, out IRequestHandler)
bool TryGet(MessageMethod method, out IRequestHandler handler)
Parameters
methodMessageMethodhandlerIRequestHandler
Returns
TryRemove(MessageMethod)
bool TryRemove(MessageMethod method)
Parameters
methodMessageMethod