BaseRequestHandler class
namespace: Serenity.Services assembly: Serenity.Net.Services
An abstract class that can be used as base for request handlers that accept a IRequestContext instance.
public abstract class BaseRequestHandler : IRequestHandler
Public Members
| name | description |
|---|---|
| BaseRequestHandler(…) | Creates an instance of the class. |
Protected Members
| name | description |
|---|---|
| Cache { get; } | Gets cache from the request context |
| Context { get; } | Gets the request context |
| Localizer { get; } | Gets text localizer from the request context |
| Permissions { get; } | Gets permission service from the request context |
| User { get; } | Gets the user from the request context |
See Also
- interface IRequestHandler
- Source: BaseRequestHandler.cs