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
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 |
- Source: IRequestContext.cs