Table of Contents

Class WriteOutcome<T>.Updated

Namespace
Trellis
Assembly
Trellis.Core.dll

An existing resource was replaced/updated and the new representation is returned. Transports as HTTP 200 OK.

public sealed record WriteOutcome<T>.Updated : WriteOutcome<T>, IEquatable<WriteOutcome<T>>, IEquatable<WriteOutcome<T>.Updated>
Inheritance
WriteOutcome<T>.Updated
Implements
Inherited Members
Extension Methods

Constructors

Updated(T, RepresentationMetadata?)

An existing resource was replaced/updated and the new representation is returned. Transports as HTTP 200 OK.

public Updated(T Value, RepresentationMetadata? Metadata = null)

Parameters

Value T

The updated entity.

Metadata RepresentationMetadata

Optional representation metadata for the updated resource.

Properties

Metadata

Optional representation metadata for the updated resource.

public RepresentationMetadata? Metadata { get; init; }

Property Value

RepresentationMetadata

Value

The updated entity.

public T Value { get; init; }

Property Value

T