Files
serein-flow/WorkBench/Node/ViewModel/ExpOpNodeViewModel.cs
2024-08-06 15:41:14 +08:00

32 lines
667 B
C#

using Serein.Flow.NodeModel;
using Serein.WorkBench.Node.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serein.WorkBench.Node.ViewModel
{
public class ExpOpNodeViewModel: NodeControlViewModel
{
public readonly SingleExpOpNode node;
public string Expression
{
get => node.Expression;
set
{
node.Expression = value;
OnPropertyChanged();
}
}
public ExpOpNodeViewModel(SingleExpOpNode node)
{
this.node = node;
}
}
}