Class RequestHandlers
public sealed class RequestHandlers : IRequestHandlers
- Inheritance
-
RequestHandlers
- Implements
- Inherited Members
- Extension Methods
Constructors
RequestHandlers()
public RequestHandlers()
Methods
AddOrUpdate(MessageMethod, Func<IRequestHandler>, Func<IRequestHandler, IRequestHandler>)
public void AddOrUpdate(MessageMethod method, Func<IRequestHandler> addHandlerFunc, Func<IRequestHandler, IRequestHandler> updateHandlerFunc)
Parameters
method
MessageMethodaddHandlerFunc
Func<IRequestHandler>updateHandlerFunc
Func<IRequestHandler, IRequestHandler>
TryAdd(MessageMethod, IRequestHandler)
public bool TryAdd(MessageMethod method, IRequestHandler handler)
Parameters
method
MessageMethodhandler
IRequestHandler
Returns
TryGet(MessageMethod, out IRequestHandler)
public bool TryGet(MessageMethod method, out IRequestHandler handler)
Parameters
method
MessageMethodhandler
IRequestHandler
Returns
TryRemove(MessageMethod)
public bool TryRemove(MessageMethod method)
Parameters
method
MessageMethod