예제 #1
0
        public ChoIniNewLineNode AppendNewLine()
        {
            ChoIniNewLineNode iniNewLineNode = new ChoIniNewLineNode(this.OwnerDocument);

            _iniNodes.Add(iniNewLineNode);
            return(iniNewLineNode);
        }
예제 #2
0
        public ChoIniNewLineNode AddNewLineNode()
        {
            ChoIniNewLineNode newLineNode = new ChoIniNewLineNode(OwnerDocument);

            if (!OwnerDocument.OnNodeInserting(this, newLineNode))
            {
                OwnerDocument.Dirty = true;
                _iniNewLineNodes.Add(newLineNode);
                OwnerDocument.OnNodeInserted(this, newLineNode);

                return(newLineNode);
            }

            return(null);
        }