Table of Contents

Class WriteOutcome<T>.Created

Namespace
Trellis.Asp
Assembly
Trellis.Asp.dll

Resource was created — maps to 201 Created.

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

Constructors

Created(T, string, RepresentationMetadata?)

Resource was created — maps to 201 Created.

public Created(T Value, string Location, RepresentationMetadata? Metadata = null)

Parameters

Value T
Location string
Metadata RepresentationMetadata

Properties

Location

public string Location { get; init; }

Property Value

string

Metadata

public RepresentationMetadata? Metadata { get; init; }

Property Value

RepresentationMetadata

Value

public T Value { get; init; }

Property Value

T