Skip to content

Class Children

Namespace: Void.Minecraft.Components.Text.Properties
Assembly: Void.Minecraft.dll

Contains the child components appended to a text component.

public record Children : IEquatable<Children>

Inheritance

objectChildren

Implements

IEquatable<Children>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

Children(IEnumerable<Component>)

Contains the child components appended to a text component.

public Children(IEnumerable<Component> Extra)

Parameters

Extra IEnumerable<Component>

The ordered child-component sequence.

Properties

Default

Gets an empty child-component collection.

public static Children Default { get; }

Property Value

Children

Extra

The ordered child-component sequence.

public IEnumerable<Component> Extra { get; init; }

Property Value

IEnumerable<Component>