예제 #1
0
 /// <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));
 }
예제 #2
0
 /// <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)));
 }