/// <summary> /// Creates the node. /// </summary> /// <returns>Instance of INode</returns> public INode CreateNode(INodeContext nodeContext) { if (nodeContext == null) { ExceptionManager.Throw(new ArgumentNullException("nodeContext")); } return _currentNode ?? (_currentNode = new PatientNodeControl(this)); }
/// <summary> /// Creates the node. /// </summary> /// <returns>Instance of INode</returns> public INode CreateNode(INodeContext nodeContext) { if (nodeContext == null) { ExceptionManager.Throw(new ArgumentNullException("nodeContext")); } return(_currentNode ?? (_currentNode = new PatientNodeControl(this))); }