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 |
| static GetResponseType(…) | Gets the response type for the handler instance |
| 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