port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
using DynamicData;
using Intromat.Model.Compiler;
using Intromat.PersistentModel;
using Intromat.ViewModels;
using Intromat.Views;
using NodeNetwork.Toolkit.ValueNode;
using ReactiveUI;
using Splat;
namespace Intromat.Nodes
{
public class MainEntryPointNode : CodeGenNodeViewModel
{
static MainEntryPointNode()
{
Locator.CurrentMutable.Register(() => new CodeGenNodeView(), typeof(IViewFor<MainEntryPointNode>));
}
public MainEntryPointNode()
: base(NodeType.Special)
{
Name = "Main";
OnClickFlow = new CodeGenInputViewModel<IStatement>(EPortType.Execution) { Name = "Entry point" };
Inputs.Add(OnClickFlow);
}
public ValueNodeInputViewModel<IStatement> OnClickFlow { get; }
public override NodeModelBase CreateModel()
{
return new MainEntryPointModel();
}
}
}