Code:
/ FX-1434 / FX-1434 / 1.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
- HtmlDocument.cs
- AccessDataSource.cs
- SimpleBitVector32.cs
- AnonymousIdentificationModule.cs
- XmlDataImplementation.cs
- ConfigXmlElement.cs
- unsafenativemethodsother.cs
- HtmlInputHidden.cs
- UnmanagedMemoryStream.cs
- ACE.cs
- RequiredAttributeAttribute.cs
- TextContainerChangeEventArgs.cs
- oledbmetadatacolumnnames.cs
- CheckPair.cs
- ToolStrip.cs
- Type.cs
- EntitySetBase.cs
- ServiceModelInstallComponent.cs
- PackageStore.cs
- FormsAuthenticationUser.cs
- ListBindingHelper.cs
- CacheMemory.cs
- CacheOutputQuery.cs
- XmlSchemaAnnotated.cs
- LockedActivityGlyph.cs
- WaitHandleCannotBeOpenedException.cs
- DataBindingCollectionConverter.cs
- TemplateField.cs
- Geometry.cs
- EntityDataSourceStatementEditor.cs
- HierarchicalDataTemplate.cs
- COM2ExtendedUITypeEditor.cs
- ExtendedProtectionPolicy.cs
- Listen.cs
- CachedRequestParams.cs
- TableLayoutRowStyleCollection.cs
- MimeTypeAttribute.cs
- WindowAutomationPeer.cs
- SoapEnumAttribute.cs
- XmlUtilWriter.cs
- BeginEvent.cs
- TextServicesPropertyRanges.cs
- ReflectTypeDescriptionProvider.cs
- OutputCacheModule.cs
- TiffBitmapDecoder.cs
- ProxyElement.cs
- CommonXSendMessage.cs
- AlternationConverter.cs
- BoundPropertyEntry.cs
- StringFunctions.cs
- XmlSchemaAny.cs
- NeutralResourcesLanguageAttribute.cs
- DiagnosticTraceSchemas.cs
- PageBuildProvider.cs
- RealizationContext.cs
- Package.cs
- PropertyCollection.cs
- ColorBlend.cs
- DataServiceCollectionOfT.cs
- CacheSection.cs
- MsmqVerifier.cs
- MetabaseServerConfig.cs
- SimpleRecyclingCache.cs
- SqlLiftIndependentRowExpressions.cs
- WindowsScrollBarBits.cs
- SqlWebEventProvider.cs
- SizeLimitedCache.cs
- DigestTraceRecordHelper.cs
- StackSpiller.Temps.cs
- ConnectionsZoneAutoFormat.cs
- DataGridTable.cs
- RotateTransform.cs
- EntryWrittenEventArgs.cs
- ToolboxItemCollection.cs
- BCLDebug.cs
- InfoCardCryptoHelper.cs
- TagMapCollection.cs
- CssTextWriter.cs
- SQLSingleStorage.cs
- ProfileService.cs
- Win32PrintDialog.cs
- ColumnCollection.cs
- SortDescription.cs
- ImageList.cs
- PropertyBuilder.cs
- IIS7WorkerRequest.cs
- StrongName.cs
- DataGridViewRow.cs
- Command.cs
- DataGridViewHitTestInfo.cs
- TransformCryptoHandle.cs
- UnionCodeGroup.cs
- RowsCopiedEventArgs.cs
- _AuthenticationState.cs
- CryptoConfig.cs
- COM2AboutBoxPropertyDescriptor.cs
- HyperlinkAutomationPeer.cs
- LinkGrep.cs
- mediaclock.cs
- ResourceWriter.cs