Files
stgsharp/StgSharp.UserInterface/Framework/View.CommandResult.cs
T

29 lines
651 B
C#

// -----------------------------------------------------------------------------
// file="View.CommandResult"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using System;
namespace StgSharp.UserInterface
{
public sealed record CommandResult
{
public string? Message { get; init; }
public object? Data { get; init; }
public bool IsSuccess { get; init; }
public bool IsRejected { get; init; }
public bool IsAborted { get; init; }
public Guid CommandId { get; init; }
}
}