Class WriteOutcome<T>
- Namespace
- Trellis
- Assembly
- Trellis.Http.Abstractions.dll
Represents the outcome of a write operation (create / replace / accept-for-async) returned
by Application-layer repositories. The case selected describes what happened; HTTP-aware
boundary adapters (for example Trellis.Asp) translate each case to status codes and headers.
public abstract record WriteOutcome<T> : IEquatable<WriteOutcome<T>>
Type Parameters
TThe representation/body type returned for Created/Updated and the status payload type used by Accepted.
- Inheritance
-
WriteOutcome<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
The case set aligns with the write outcomes enumerated in RFC 9110 ยง9.3.4 and lives in
Trellis.Http.Abstractions so server/client HTTP packages can share the same vocabulary.