Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
13 lines
No EOL
404 B
C#
13 lines
No EOL
404 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace ModelContextProtocol.Protocol;
|
|
|
|
/// <summary>
|
|
/// Represents an empty result object for operations that need to indicate successful completion
|
|
/// but don't need to return any specific data.
|
|
/// </summary>
|
|
public sealed class EmptyResult : Result
|
|
{
|
|
[JsonIgnore]
|
|
internal static EmptyResult Instance { get; } = new() { ResultType = "complete" };
|
|
} |