Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / System / NewXml / BaseTreeIterator.cs / 1 / BaseTreeIterator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Xml { using System; using System.Data; using System.Diagnostics; // Iterates over non-attribute nodes internal abstract class BaseTreeIterator { protected DataSetMapper mapper; internal BaseTreeIterator( DataSetMapper mapper ) { this.mapper = mapper; } internal abstract void Reset(); internal abstract XmlNode CurrentNode { get; } internal abstract bool Next(); internal abstract bool NextRight(); internal bool NextRowElement() { while ( Next() ) { if ( OnRowElement() ) return true; } return false; } internal bool NextRightRowElement() { if ( NextRight() ) { if ( OnRowElement() ) return true; return NextRowElement(); } return false; } // Returns true if the current node is on a row element (head of a region) internal bool OnRowElement() { XmlBoundElement be = CurrentNode as XmlBoundElement; return (be != null) && (be.Row != null); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QueuePathDialog.cs
- propertytag.cs
- Messages.cs
- CustomAttribute.cs
- BypassElement.cs
- VirtualPathData.cs
- StylusCollection.cs
- BooleanStorage.cs
- PageBreakRecord.cs
- MDIWindowDialog.cs
- ReadOnlyMetadataCollection.cs
- StringToken.cs
- SqlUDTStorage.cs
- DataSourceConverter.cs
- FrameworkPropertyMetadata.cs
- EdmTypeAttribute.cs
- StyleCollection.cs
- OleDbDataReader.cs
- WindowsStatusBar.cs
- TextBreakpoint.cs
- UnicodeEncoding.cs
- ComplexTypeEmitter.cs
- securestring.cs
- ResourceLoader.cs
- BitmapMetadataBlob.cs
- XmlFormatReaderGenerator.cs
- HtmlControl.cs
- WindowsEditBox.cs
- InheritanceContextChangedEventManager.cs
- panel.cs
- XmlAttributeOverrides.cs
- ShaperBuffers.cs
- AncestorChangedEventArgs.cs
- ControlDesigner.cs
- BeginEvent.cs
- _Events.cs
- ArrayElementGridEntry.cs
- MultiSelector.cs
- AxisAngleRotation3D.cs
- InfoCardSymmetricAlgorithm.cs
- UrlPath.cs
- QilFactory.cs
- QueryOperator.cs
- RegexCode.cs
- FaultPropagationRecord.cs
- ErrorProvider.cs
- ExpandableObjectConverter.cs
- BrushConverter.cs
- StringAttributeCollection.cs
- ToolStripLocationCancelEventArgs.cs
- XamlLoadErrorInfo.cs
- SetStateEventArgs.cs
- ClientBuildManager.cs
- ToolStripItemDataObject.cs
- DataSource.cs
- SizeChangedEventArgs.cs
- XamlFilter.cs
- FamilyTypeface.cs
- StylusPointPropertyInfoDefaults.cs
- DataSourceXmlSerializationAttribute.cs
- WebPartActionVerb.cs
- SqlCommandBuilder.cs
- FileSystemInfo.cs
- TableHeaderCell.cs
- ItemList.cs
- XamlReader.cs
- ResourceDescriptionAttribute.cs
- fixedPageContentExtractor.cs
- DependencyProperty.cs
- TiffBitmapEncoder.cs
- TogglePattern.cs
- Behavior.cs
- RangeBase.cs
- TemplateBindingExtension.cs
- KeyFrames.cs
- Utils.cs
- ComUdtElementCollection.cs
- EntitySqlException.cs
- ObjectListCommand.cs
- DrawingContext.cs
- CommonProperties.cs
- SessionStateContainer.cs
- LayoutTableCell.cs
- SafeHGlobalHandleCritical.cs
- TagPrefixAttribute.cs
- EventSinkHelperWriter.cs
- XhtmlBasicObjectListAdapter.cs
- EventListener.cs
- DbConnectionFactory.cs
- BindingManagerDataErrorEventArgs.cs
- XmlLinkedNode.cs
- IgnoreSectionHandler.cs
- EncodingConverter.cs
- CSharpCodeProvider.cs
- FieldBuilder.cs
- XmlEntityReference.cs
- DataGridViewCellPaintingEventArgs.cs
- DataColumn.cs
- HandleCollector.cs
- LayeredChannelListener.cs