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
- ContainerTracking.cs
- MoveSizeWinEventHandler.cs
- Drawing.cs
- InstanceNormalEvent.cs
- PostBackOptions.cs
- XmlWriter.cs
- XmlUrlEditor.cs
- RenderDataDrawingContext.cs
- SamlDoNotCacheCondition.cs
- MemberProjectedSlot.cs
- AdPostCacheSubstitution.cs
- Executor.cs
- OciEnlistContext.cs
- DragStartedEventArgs.cs
- PrefixHandle.cs
- BitmapEffectGeneralTransform.cs
- DbProviderFactories.cs
- __Filters.cs
- GcHandle.cs
- PageCatalogPart.cs
- NameTable.cs
- X509ChainElement.cs
- AuditLevel.cs
- SpecialNameAttribute.cs
- DbMetaDataFactory.cs
- LayoutTable.cs
- JoinCqlBlock.cs
- BasicCommandTreeVisitor.cs
- TimeSpanStorage.cs
- DataServiceResponse.cs
- MissingManifestResourceException.cs
- XmlWrappingWriter.cs
- XmlRootAttribute.cs
- DataListItemCollection.cs
- TranslateTransform3D.cs
- HttpContextServiceHost.cs
- TransactionBridgeSection.cs
- HostingEnvironmentWrapper.cs
- SafeHandles.cs
- ToolStripItemRenderEventArgs.cs
- HandlerElement.cs
- SQLDecimal.cs
- BackgroundWorker.cs
- ListViewContainer.cs
- ChangesetResponse.cs
- Control.cs
- ObjectConverter.cs
- WindowsToolbar.cs
- MetadataItemSerializer.cs
- XMLDiffLoader.cs
- NullReferenceException.cs
- base64Transforms.cs
- WorkflowClientDeliverMessageWrapper.cs
- NumericUpDownAccelerationCollection.cs
- RuntimeWrappedException.cs
- FontDriver.cs
- Vector3DCollection.cs
- CmsUtils.cs
- BinaryQueryOperator.cs
- EpmContentSerializerBase.cs
- exports.cs
- SqlBuilder.cs
- TextLineBreak.cs
- OdbcParameter.cs
- SettingsPropertyValue.cs
- GenericQueueSurrogate.cs
- XmlQualifiedName.cs
- FileSystemEventArgs.cs
- AnnotationStore.cs
- WindowsImpersonationContext.cs
- WebPartExportVerb.cs
- TreeView.cs
- Literal.cs
- Util.cs
- WinFormsComponentEditor.cs
- CompositeDuplexElement.cs
- CollectionsUtil.cs
- DeflateStream.cs
- smtpconnection.cs
- BulletedListEventArgs.cs
- _PooledStream.cs
- SeekStoryboard.cs
- SiteMapNodeCollection.cs
- FormClosedEvent.cs
- DataTableMapping.cs
- GeneralTransformCollection.cs
- IntSecurity.cs
- MailBnfHelper.cs
- WorkflowQueue.cs
- WrappedIUnknown.cs
- ToolBarButtonClickEvent.cs
- SiteOfOriginContainer.cs
- _BufferOffsetSize.cs
- ItemChangedEventArgs.cs
- MultipleViewPattern.cs
- Pen.cs
- PreviewKeyDownEventArgs.cs
- InkCollectionBehavior.cs
- ComponentDispatcher.cs
- ShapingEngine.cs