/// <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 HomeNodeControl())); }
/// <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 HomeNodeControl()); }