Skip to content

Class PassthroughArgumentType

Namespace: Void.Minecraft.Commands.Brigadier.ArgumentTypes
Assembly: Void.Minecraft.dll

public record PassthroughArgumentType : IArgumentType, IAnyArgumentType, IEquatable<PassthroughArgumentType>

Inheritance

objectPassthroughArgumentType

Implements

IArgumentType, IAnyArgumentType, IEquatable<PassthroughArgumentType>

Inherited Members

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

Constructors

PassthroughArgumentType(ArgumentSerializerMapping, IPassthroughArgumentValue)

public PassthroughArgumentType(ArgumentSerializerMapping Mappings, IPassthroughArgumentValue Value)

Parameters

Mappings ArgumentSerializerMapping

Value IPassthroughArgumentValue

Properties

Examples

public IEnumerable<string> Examples { get; }

Property Value

IEnumerable<string>

Mappings

public ArgumentSerializerMapping Mappings { get; init; }

Property Value

ArgumentSerializerMapping

Value

public IPassthroughArgumentValue Value { get; init; }

Property Value

IPassthroughArgumentValue

Methods

Parse(StringReader)

public IArgumentValue Parse(StringReader reader)

Parameters

reader StringReader

Returns

IArgumentValue