C# Class Invert.Core.GraphDesigner.TypedItemConnectionStrategy

Inheritance: DefaultConnectionStrategy
显示文件 Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
Connect ( DiagramViewModel diagramViewModel, ConnectorViewModel a, ConnectorViewModel b ) : ConnectionViewModel
IsConnected ( ConnectorViewModel output, ConnectorViewModel input ) : bool
Remove ( ConnectionViewModel connectionViewModel ) : void
Remove ( ConnectorViewModel output, ConnectorViewModel input ) : void

Protected Methods

Method Description
ApplyConnection ( IGraphData graph, IConnectable output, IConnectable input ) : void

Method Details

ApplyConnection() protected method

protected ApplyConnection ( IGraphData graph, IConnectable output, IConnectable input ) : void
graph IGraphData
output IConnectable
input IConnectable
return void

Connect() public method

public Connect ( DiagramViewModel diagramViewModel, ConnectorViewModel a, ConnectorViewModel b ) : ConnectionViewModel
diagramViewModel DiagramViewModel
a ConnectorViewModel
b ConnectorViewModel
return ConnectionViewModel

IsConnected() public method

public IsConnected ( ConnectorViewModel output, ConnectorViewModel input ) : bool
output ConnectorViewModel
input ConnectorViewModel
return bool

Remove() public method

public Remove ( ConnectionViewModel connectionViewModel ) : void
connectionViewModel ConnectionViewModel
return void

Remove() public method

public Remove ( ConnectorViewModel output, ConnectorViewModel input ) : void
output ConnectorViewModel
input ConnectorViewModel
return void