Table of Contents

Class ValidationArgValue.List

Namespace
Trellis
Assembly
Trellis.Core.dll

An ordered list of operands, written to JSON as an array.

public sealed record ValidationArgValue.List : ValidationArgValue, IEquatable<ValidationArgValue>, IEquatable<ValidationArgValue.List>
Inheritance
ValidationArgValue.List
Implements
Inherited Members
Extension Methods

Remarks

This is what lets a violation name a set — the permitted members behind an enum.name-undefined, say — without a producer inventing a delimiter that a client would then have to know to split on.

Constructors

List(EquatableArray<ValidationArgValue>)

An ordered list of operands, written to JSON as an array.

public List(EquatableArray<ValidationArgValue> Items)

Parameters

Items EquatableArray<ValidationArgValue>

The list members, in order.

Remarks

This is what lets a violation name a set — the permitted members behind an enum.name-undefined, say — without a producer inventing a delimiter that a client would then have to know to split on.

Properties

Items

The list members, in order.

public EquatableArray<ValidationArgValue> Items { get; init; }

Property Value

EquatableArray<ValidationArgValue>