From: Gert D. <dri...@us...> - 2004-07-11 13:37:43
|
Update of /cvsroot/nant/nant/src/NAnt.Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21328 Modified Files: Element.cs Log Message: refactored element initialization, to allow specific parts of the initialization process to be overriden Index: Element.cs =================================================================== RCS file: /cvsroot/nant/nant/src/NAnt.Core/Element.cs,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** Element.cs 18 Jun 2004 16:03:06 -0000 1.65 --- Element.cs 11 Jul 2004 13:37:35 -0000 1.66 *************** *** 269,273 **** InitializeXml(elementNode, properties, framework); ! // allow inherited classes a chance to do some custom initialization. InitializeElement(elementNode); } --- 269,273 ---- InitializeXml(elementNode, properties, framework); ! // allow inherited classes a chance to do some custom initialization InitializeElement(elementNode); [...1450 lines suppressed...] + /// <see cref="Element" /> that we're configuring, or + /// <see langword="null" /> if there's no current target + /// framework. + /// </summary> + private readonly FrameworkInfo _targetFramework; + + /// <summary> + /// Holds the names of the attributes that still need to be + /// processed. + /// </summary> + private readonly StringCollection _unprocessedAttributes; + + /// <summary> + /// Holds the names of the child nodes that still need to be + /// processed. + /// </summary> + private readonly StringCollection _unprocessedChildNodes; + #endregion Private Instance Fields |