public override void Validate(ValidationContext validationContext) { base.Validate(validationContext); // validate the attributes IEnumerator iter = _attributes.GetEnumerator(); while (iter.MoveNext()) { AttributeImpl attribute = (AttributeImpl)iter.Current; attribute.Validate(validationContext); } // validate the nodes iter = _nodes.GetEnumerator(); while (iter.MoveNext()) { NodeImpl node = (NodeImpl)iter.Current; node.Validate(validationContext); } // validate the childBlocks iter = _childBlocks.GetEnumerator(); while (iter.MoveNext()) { ProcessBlockImpl processBlock = (ProcessBlockImpl)iter.Current; processBlock.Validate(validationContext); } }
public void SetNode(INode node) { this._node = (NodeImpl) node; }
public virtual void AddNode(NodeImpl node) { _nodes.Add(node); node.ProcessBlock = this; }
public virtual void AddNode(NodeImpl node) { _nodes.Add(node); node.ProcessBlock = this; }