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
- SafeNativeMethodsOther.cs
- XmlCountingReader.cs
- PropertyTabChangedEvent.cs
- JsonUriDataContract.cs
- CellQuery.cs
- SiteMapNodeItemEventArgs.cs
- SystemSounds.cs
- FixedStringLookup.cs
- PolicyManager.cs
- StartUpEventArgs.cs
- OpenTypeLayout.cs
- DataServiceRequestOfT.cs
- EdmComplexPropertyAttribute.cs
- ComponentSerializationService.cs
- BamlVersionHeader.cs
- WrappedReader.cs
- TypeViewSchema.cs
- ChangeDirector.cs
- StringBuilder.cs
- XsltCompileContext.cs
- CompiledXpathExpr.cs
- Oid.cs
- SqlWebEventProvider.cs
- GeneralTransform3DCollection.cs
- TypedColumnHandler.cs
- CodeTypeDeclarationCollection.cs
- AutoScrollExpandMessageFilter.cs
- LineBreakRecord.cs
- EnumValAlphaComparer.cs
- ReadOnlyCollection.cs
- Span.cs
- MetadataItem_Static.cs
- ParentQuery.cs
- ObjectStateFormatter.cs
- _NegotiateClient.cs
- DataGridAddNewRow.cs
- PointAnimationClockResource.cs
- ThreadInterruptedException.cs
- SetIterators.cs
- SafeSecurityHandles.cs
- TableAutomationPeer.cs
- TemporaryBitmapFile.cs
- FileAuthorizationModule.cs
- SqlUserDefinedAggregateAttribute.cs
- TextEditorContextMenu.cs
- DataBoundControlAdapter.cs
- EntityDataSource.cs
- BindingCompleteEventArgs.cs
- StrongTypingException.cs
- MouseButton.cs
- WebEvents.cs
- DataTrigger.cs
- SQLDouble.cs
- WmlValidationSummaryAdapter.cs
- SpellerStatusTable.cs
- DBConnection.cs
- ProcessHostFactoryHelper.cs
- CalendarDateRangeChangingEventArgs.cs
- ErrorTolerantObjectWriter.cs
- BuildProvider.cs
- Debug.cs
- ObjectViewEntityCollectionData.cs
- BooleanKeyFrameCollection.cs
- DigestTraceRecordHelper.cs
- PolicyChain.cs
- Stack.cs
- smtpconnection.cs
- ContractMapping.cs
- UnmanagedBitmapWrapper.cs
- CommandLineParser.cs
- NamespaceMapping.cs
- ProviderConnectionPoint.cs
- Span.cs
- WebService.cs
- XmlSchemaObjectCollection.cs
- ReliableMessagingVersion.cs
- ReferentialConstraint.cs
- MetadataArtifactLoaderResource.cs
- StateDesigner.LayoutSelectionGlyph.cs
- DbDeleteCommandTree.cs
- FileStream.cs
- listitem.cs
- SqlMetaData.cs
- EncodingNLS.cs
- SoapIgnoreAttribute.cs
- DetailsViewPagerRow.cs
- ProtocolProfile.cs
- UnsafeNativeMethods.cs
- NodeFunctions.cs
- CatalogZone.cs
- TextOnlyOutput.cs
- Cursors.cs
- ListItemConverter.cs
- MailAddressCollection.cs
- HtmlTableRowCollection.cs
- TextTreeTextBlock.cs
- FontUnitConverter.cs
- FtpWebRequest.cs
- AuthenticodeSignatureInformation.cs
- ImageCollectionEditor.cs