/// <summary> /// Initializes a new instance of the <see cref="ThreeInOneOutExpression"/> class. /// </summary> public ThreeInOneOutExpression() { Connector1In = new ConnectorIn(this); Connector2In = new ConnectorIn(this); Connector3In = new ConnectorIn(this); ConnectorOut = new ConnectorOut(this); }
/// <summary> /// Initializes a new instance of the <see cref="ExpressionObjectBase" /> class. /// </summary> /// <param name="type">The type.</param> public ThreeInOneOutExpression(ExpressionNodeType type) : base(type) { Connector1In = new ConnectorIn(this); Connector2In = new ConnectorIn(this); Connector3In = new ConnectorIn(this); ConnectorOut = new ConnectorOut(this); }
/// <summary> /// Initializes a new instance of the <see cref="FiveInOneOutExpression"/> class. /// </summary> public FiveInOneOutExpression() { Connector1In = new ConnectorIn(this); Connector2In = new ConnectorIn(this); Connector3In = new ConnectorIn(this); Connector4In = new ConnectorIn(this); Connector5In = new ConnectorIn(this); ConnectorOut = new ConnectorOut(this); }
/// <summary> /// Initializes a new instance of the <see cref="TwoInOneOutExpression"/> class. /// </summary> public TwoInOneOutExpression() { _connector1In = new ConnectorIn(this); _connector1In.PropertyChanged += OnConnectorPropertyChanged; _connector2In = new ConnectorIn(this); _connector2In.PropertyChanged += OnConnectorPropertyChanged; _connectorOut = new ConnectorOut(this); _connectorOut.PropertyChanged += OnConnectorPropertyChanged; }
/// <summary> /// Initializes a new instance of the <see cref="ExpressionObjectBase" /> class. /// </summary> /// <param name="type">The type.</param> public TwoInOneOutExpression(ExpressionNodeType type) : base(type) { _connector1In = new ConnectorIn(this); _connector1In.PropertyChanged += OnConnectorPropertyChanged; _connector2In = new ConnectorIn(this); _connector2In.PropertyChanged += OnConnectorPropertyChanged; _connectorOut = new ConnectorOut(this); _connectorOut.PropertyChanged += OnConnectorPropertyChanged; }
public void CloneTest() { var source = new ConnectorOut(null) {Name = "source"}; var cloneTo = new ConnectorOut(null); source.Clone(cloneTo); Assert.AreEqual(source.Name, cloneTo.Name); cloneTo = (ConnectorOut) source.Clone(); Assert.AreEqual(source.Name, cloneTo.Name); }
/// <summary> /// Initializes a new instance of the <see cref="OneInOneOutExpression" /> class. /// </summary> public OneInOneOutExpression() { ConnectorOut = new ConnectorOut(this); ConnectorIn = new ConnectorIn(this); }
/// <summary> /// Initializes a new instance of the <see cref="ConstantExpression"/> class. /// </summary> public ConstantExpression() : base(ExpressionNodeType.Constant) { Value = String.Empty; ConnectorOut = new ConnectorOut(this); }
/// <summary> /// Initializes a new instance of the <see cref="SourceField"/> class. /// </summary> /// <param name="owner">The owner.</param> public SourceField(ExpressionObjectBase owner) { ConnectorOut = new ConnectorOut(owner); Id = ConnectorOut.Id; }
/// <summary> /// Initializes a new instance of the <see cref="ExpressionObjectBase" /> class. /// </summary> /// <param name="type">The type.</param> public FunctionExpression(ExpressionNodeType type) : base(type) { ConnectorOut = new ConnectorOut(this); }
/// <summary> /// Deserializes the specified XML reader. /// </summary> /// <param name="xmlReader">The XML reader.</param> public override void Deserialize(XmlReader xmlReader) { Id = Guid.Parse(xmlReader.GetAttribute("id")); Source = new ConnectorOut(this) {Id = Guid.Parse(xmlReader.GetAttribute("sourceId")) }; Sink = new ConnectorIn(this) { Id = Guid.Parse(xmlReader.GetAttribute("destinationId")) }; }