IRequestContext interface
namespace: Serenity.Services assembly: Serenity.Net.Services
A service request context abstraction containing services that are mostly used by all service handler types. This is a type similar to the HttpContext but is specialized for service handlers.
public interface IRequestContext
Members
| name | description |
|---|---|
| Behaviors { get; } | Gets the behavior provider. |
| Cache { get; } | Gets the two level cache. |
| Localizer { get; } | Gets the text localizer. |
| Permissions { get; } | Gets the permission service. |
| User { get; } | Gets the current user. |
See Also
- Source: IRequestContext.cs