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; } | Get the two level cache |
| Localizer { get; } | Gets the text localizer |
| Permissions { get; } | Gets the permission service |
| User { get; } | Gets current user |
See Also
- Source: IRequestContext.cs