C# Class YuvKA.ViewModel.EdgeViewModel

Models an edge connecting two nodes in the view. In the pipeline model, edges are not modelled explictly but implied by the Node.Input.Source property.
Inheritance: Caliburn.Micro.PropertyChangedBase, IDisposable
Show file Open project: TehMillhouse/YUV.KA Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Removes all handlers notifying of position changes of the nodes this edge is connected to.

GetInOut ( YuvKA.ViewModel.InOutputViewModel &inputVM, YuvKA.ViewModel.InOutputViewModel &outputVM ) : bool

Try and sort two InOutputViewModels into input and output. Returns false if there are two inputs or outputs.

Method Details

Dispose() public method

Removes all handlers notifying of position changes of the nodes this edge is connected to.
public Dispose ( ) : void
return void

GetInOut() public method

Try and sort two InOutputViewModels into input and output. Returns false if there are two inputs or outputs.
public GetInOut ( YuvKA.ViewModel.InOutputViewModel &inputVM, YuvKA.ViewModel.InOutputViewModel &outputVM ) : bool
inputVM YuvKA.ViewModel.InOutputViewModel
outputVM YuvKA.ViewModel.InOutputViewModel
return bool