Пример #1
0
        public ConnectionViewModel(OutputPinViewModel source, InputPinViewModel destination)
        {
            Source = source;
            Destination = destination;

            source.PropertyChanged += source_PropertyChanged;
            destination.PropertyChanged += destination_PropertyChanged;
        }
Пример #2
0
 internal void Connect(OutputPinViewModel outputPin, InputPinViewModel other)
 {
     _filterInstance.Connect(outputPin.Desc.Name, other.Parent._filterInstance, other.Desc.Name);
 }
Пример #3
0
 internal void Connect(InputPinViewModel other)
 {
     Parent.Connect(this, other);
 }