public ConnectionViewModel(FullyCreatedConnectorInfo sourceConnectorInfo, ConnectorInfoBase sinkConnectorInfo) { Init(sourceConnectorInfo, sinkConnectorInfo); }
private void Init(FullyCreatedConnectorInfo sourceConnectorInfo, ConnectorInfoBase sinkConnectorInfo) { Diagram = sourceConnectorInfo.DesignerItem.Diagram; SourceConnectorInfo = sourceConnectorInfo; SinkConnectorInfo = sinkConnectorInfo; }