Class Suggestions
Namespace: Void.Minecraft.Commands.Brigadier.Suggestion
Assembly: Void.Minecraft.dll
public record Suggestions : IEquatable<Suggestions>Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Suggestions(StringRange, List<Suggestion>)
public Suggestions(StringRange Range, List<Suggestion> All)Parameters
Range StringRange
All List<Suggestion>
Properties
All
public List<Suggestion> All { get; init; }Property Value
Empty
public static Suggestions Empty { get; }Property Value
IsEmpty
public bool IsEmpty { get; }Property Value
Range
public StringRange Range { get; init; }Property Value
Methods
Create(string, IEnumerable<Suggestion>)
public static Suggestions Create(string command, IEnumerable<Suggestion> suggestions)Parameters
command string
suggestions IEnumerable<Suggestion>
Returns
EmptyAsync()
public static ValueTask<Suggestions> EmptyAsync()Returns
Merge(string, IEnumerable<Suggestions>)
public static Suggestions Merge(string command, IEnumerable<Suggestions> input)Parameters
command string
input IEnumerable<Suggestions>