/// <summary>
		/// Adds an error node to the tree.
		/// </summary>
		/// <param name="node">The parent tree node.</param>
		void AddBuildFileError(TreeNode node, NAntBuildFileError buildFileError)
		{
			NAntBuildFileErrorTreeNode errorNode = new NAntBuildFileErrorTreeNode(buildFileError);
			node.Nodes.Add(errorNode);
		}
Beispiel #2
0
        /// <summary>
        /// Adds an error node to the tree.
        /// </summary>
        /// <param name="node">The parent tree node.</param>
        void AddBuildFileError(TreeNode node, NAntBuildFileError buildFileError)
        {
            NAntBuildFileErrorTreeNode errorNode = new NAntBuildFileErrorTreeNode(buildFileError);

            node.Nodes.Add(errorNode);
        }