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

27 lines
642 B
C#

// -----------------------------------------------------------------------------
// file="View.StateValueCommand"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using System;
namespace StgSharp.UserInterface
{
public sealed record StateValueCommand<TValue> : StateChangeCommand
{
public StateValueCommand(
string statePath,
TValue value
)
: base(statePath)
{
Value = value;
}
public new TValue Value { get; init; }
}
}