protected void AddInputConnector(string name, Color color) { var inputConnector = new InputConnectorViewModel(this, name, color); inputConnector.SourceChanged += (sender, e) => OnInputConnectorConnectionChanged(); _inputConnectors.Add(inputConnector); }
public ConnectionViewModel(OutputConnectorViewModel from, InputConnectorViewModel to) { From = from; To = to; }