port from perforce
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user