예제 #1
0
 public InputConnectorViewModel(ElementViewModel element, string name, Color color)
     : base(element, name, color)
 {
 }
예제 #2
0
 public InputConnectorViewModel(ElementViewModel element, string name, Color color)
     : base(element, name, color)
 {
     
 }
예제 #3
0
 public OutputConnectorViewModel(ElementViewModel element, string name, Color color, Func<BitmapSource> valueCallback)
     : base(element, name, color)
 {
     _connections = new BindableCollection<ConnectionViewModel>();
     _valueCallback = valueCallback;
 }
예제 #4
0
 public void DeleteElement(ElementViewModel element)
 {
     Connections.RemoveRange(element.AttachedConnections);
     Elements.Remove(element);
 }
예제 #5
0
 public OutputConnectorViewModel(ElementViewModel element, string name, Color color, Func <BitmapSource> valueCallback)
     : base(element, name, color)
 {
     _connections   = new BindableCollection <ConnectionViewModel>();
     _valueCallback = valueCallback;
 }
예제 #6
0
 protected ConnectorViewModel(ElementViewModel element, string name, Color color)
 {
     _element = element;
     _name = name;
     _color = color;
 }
예제 #7
0
 protected ConnectorViewModel(ElementViewModel element, string name, Color color)
 {
     _element = element;
     _name    = name;
     _color   = color;
 }
예제 #8
0
 public OutputConnectorViewModel(ElementViewModel element, string name, Color color)
     : base(element, name, color)
 {
     _connections = new BindableCollection <ConnectionViewModel>();
 }