@@ -4,7 +4,7 @@ using System.Diagnostics; | |||||
namespace Discord.Commands | namespace Discord.Commands | ||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
public struct ExecuteResult : IResult | |||||
public class ExecuteResult : IResult | |||||
{ | { | ||||
public Exception Exception { get; } | public Exception Exception { get; } | ||||
@@ -4,7 +4,7 @@ using System.Diagnostics; | |||||
namespace Discord.Commands | namespace Discord.Commands | ||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
public struct ParseResult : IResult | |||||
public class ParseResult : IResult | |||||
{ | { | ||||
public IReadOnlyList<TypeReaderResult> ArgValues { get; } | public IReadOnlyList<TypeReaderResult> ArgValues { get; } | ||||
public IReadOnlyList<TypeReaderResult> ParamValues { get; } | public IReadOnlyList<TypeReaderResult> ParamValues { get; } | ||||
@@ -3,7 +3,7 @@ | |||||
namespace Discord.Commands | namespace Discord.Commands | ||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
public struct PreconditionResult : IResult | |||||
public class PreconditionResult : IResult | |||||
{ | { | ||||
public CommandError? Error { get; } | public CommandError? Error { get; } | ||||
public string ErrorReason { get; } | public string ErrorReason { get; } | ||||
@@ -4,7 +4,7 @@ using System.Diagnostics; | |||||
namespace Discord.Commands | namespace Discord.Commands | ||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
public struct SearchResult : IResult | |||||
public class SearchResult : IResult | |||||
{ | { | ||||
public string Text { get; } | public string Text { get; } | ||||
public IReadOnlyList<CommandMatch> Commands { get; } | public IReadOnlyList<CommandMatch> Commands { get; } | ||||
@@ -6,7 +6,7 @@ using System.Diagnostics; | |||||
namespace Discord.Commands | namespace Discord.Commands | ||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
public struct TypeReaderValue | |||||
public class TypeReaderValue | |||||
{ | { | ||||
public object Value { get; } | public object Value { get; } | ||||
public float Score { get; } | public float Score { get; } | ||||