public InputConnectorViewModel(ElementViewModel element, string name, Color color) : base(element, name, color) { }
public OutputConnectorViewModel(ElementViewModel element, string name, Color color, Func<BitmapSource> valueCallback) : base(element, name, color) { _connections = new BindableCollection<ConnectionViewModel>(); _valueCallback = valueCallback; }
public void DeleteElement(ElementViewModel element) { Connections.RemoveRange(element.AttachedConnections); Elements.Remove(element); }
public OutputConnectorViewModel(ElementViewModel element, string name, Color color, Func <BitmapSource> valueCallback) : base(element, name, color) { _connections = new BindableCollection <ConnectionViewModel>(); _valueCallback = valueCallback; }
protected ConnectorViewModel(ElementViewModel element, string name, Color color) { _element = element; _name = name; _color = color; }
public OutputConnectorViewModel(ElementViewModel element, string name, Color color) : base(element, name, color) { _connections = new BindableCollection <ConnectionViewModel>(); }