Skip to content

Class TextContent

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

public record TextContent : IContent, IEquatable<TextContent>

Inheritance

objectTextContent

Implements

IContent, IEquatable<TextContent>

Inherited Members

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

Constructors

TextContent(string)

public TextContent(string Value)

Parameters

Value string

Properties

Type

public string Type { get; }

Property Value

string

Value

public string Value { get; init; }

Property Value

string