public ActionGraphEditorEntryBase(ActionGraph graph, ActionGraphNodeBase node, ActionGraphPresenter presenter) : base(graph, node, presenter) { var builder = new PathBuilder <AnyEntry>(); ConditionPropertyPath = builder .ByListOf <AnyEntry.EntryInfo>(t => nameof(t.Entries)) .Path(); if (ActionNode) { ActionNode.Notifiers.Add(this); } }
public ActionGraphEditorState(ActionGraph graph, ActionGraphNodeBase node, ActionGraphPresenter presenter) : base(graph, node, presenter) { var connection_builder = new PathBuilder <ActionState>(); connection_builder.ByListOf <ActionState.ConnectionInfo>(l => nameof(State.ConnectionInfos)); ToConnectionInfos = connection_builder.Path(); var child_builder = new PathBuilder <ActionState>(); child_builder.ByListOf <ActionGraphNode>(l => nameof(State.Connections)); ToChildren = child_builder.Path(); if (ActionNode) { ActionNode.Notifiers.Add(this); } }