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,22 @@
using System;
using DynamicData;
namespace NodeNetwork.ViewModels
{
/// <summary>
/// The factory method to create endpoint view models. Used in NodeViewModel.
/// </summary>
/// <param name="group">The endpoint group this view model wraps.</param>
/// <param name="allInputs">All inputs of the group.</param>
/// <param name="allOutputs">All outputs of the group.</param>
/// <param name="children">Nested endpoint groups.</param>
/// <param name="endpointGroupViewModelFactory">The factory method used to create the nested endpoint group view models.</param>
/// <returns>The view model for the endpoint group.</returns>
public delegate EndpointGroupViewModel EndpointGroupViewModelFactory(
EndpointGroup group,
IObservable<IChangeSet<NodeInputViewModel>> allInputs,
IObservable<IChangeSet<NodeOutputViewModel>> allOutputs,
IObservableCache<Node<EndpointGroup, EndpointGroup>, EndpointGroup> children,
EndpointGroupViewModelFactory endpointGroupViewModelFactory);
}