Skip to content

Class SelectorContent

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

public record SelectorContent : IContent, IEquatable<SelectorContent>

Inheritance

objectSelectorContent

Implements

IContent, IEquatable<SelectorContent>

Inherited Members

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

Constructors

SelectorContent(string, Component?)

public SelectorContent(string Value, Component? Separator = null)

Parameters

Value string

Separator Component?

Properties

Separator

public Component? Separator { get; init; }

Property Value

Component?

Type

public string Type { get; }

Property Value

string

Value

public string Value { get; init; }

Property Value

string