RequestHandlerExtensions class
namespace: Serenity.Services assembly: Serenity.Net.Services
Contains extension methods to create request / response types for a request handler instance
public static class RequestHandlerExtensions
Public Members
| name | description |
|---|---|
| static CreateRequest(…) | Creates a request object for the list handler instance (5 methods) |
| static CreateRequest<TRow>(…) | Creates a request object for the save handler instance |
| static GetRequestType(…) | Gets the request type for the handler instance. For a sync / async list handler wrapper returned by the handler factory, it is the request type of the wrapped handler, which may be a subclass of ListRequest the wrapped handler casts the request to. |
| static GetResponseType(…) | Gets the response type for the handler instance |
| static GetTimeZoneInfo(…) | Finds the time zone of a list request, see TimeZone. |
| static IsPagingLimitsSuppressed<TRequest>(…) | Gets whether paging limits (DefaultPageSize / MaxPageSize) are suppressed for the list request, e.g. set via SuppressPagingLimits. |
| static SuppressPagingLimits<TRequest>(…) | Sets whether paging limits (DefaultPageSize / MaxPageSize) should be ignored for the list request. Server side code that needs all rows (e.g. exports, reports, background jobs, nested relation loads) should call this; otherwise enabling the limits may silently truncate the results. Has no effect on JSON bound client requests. |
See Also
- Source: RequestHandlerExtensions.cs