advanced userinterface design
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user