| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.SERVICEREQUESTS | |
|||||
Code Reference
» Cat.ServiceRequests.Minimal.Api Assembly » Cat.ServiceRequests.Minimal.Api Namespace
PatchDocumentRequest<TRouteParameters,TModel> Class
A service request that carries a JSON Patch document and the route values that identify the resource to patch.
public record PatchDocumentRequest<TRouteParameters,TModel> : Cat.ServiceRequests.Abstractions.ICatServiceRequest, System.IEquatable<Cat.ServiceRequests.Minimal.Api.PatchDocumentRequest<TRouteParameters, TModel>>
where TModel : class
Type parameters
TRouteParameters
The type that holds the route and query values, such as the id of the resource.
TModel
The model the patch operations apply to.
Inheritance System.Object → PatchDocumentRequest<TRouteParameters,TModel>
Implements ICatServiceRequest, System.IEquatable<Cat.ServiceRequests.Minimal.Api.PatchDocumentRequest<TRouteParameters,TModel>>
| Constructors | |
|---|---|
| PatchDocumentRequest(TRouteParameters, JsonPatchDocument<TModel>) | A service request that carries a JSON Patch document and the route values that identify the resource to patch. |
| Properties | |
|---|---|
| PatchDocument | The patch operations to apply to the model. |
| RouteParameters | The route and query values that identify the resource to patch. |