CKFinder.Connector.CommandHandlers.CopyFilesCommandHandler.appendErrorNode C# (CSharp) Method

appendErrorNode() private method

private appendErrorNode ( int errorCode, string name, string type, string path ) : void
errorCode int
name string
type string
path string
return void
        private void appendErrorNode( int errorCode, string name, string type, string path )
        {
            if ( this.ErrorsNode == null )
                this.ErrorsNode = XmlUtil.AppendElement( this.ConnectorNode, "Errors" );

            XmlNode Error = XmlUtil.AppendElement( this.ErrorsNode, "Error" );
            XmlUtil.SetAttribute( Error, "code", errorCode.ToString() );
            XmlUtil.SetAttribute( Error, "name", name );
            XmlUtil.SetAttribute( Error, "type", type );
            XmlUtil.SetAttribute( Error, "folder", path );
        }