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
- BinaryCommonClasses.cs
- _PooledStream.cs
- ProfilePropertySettings.cs
- HostUtils.cs
- ParserContext.cs
- DataIdProcessor.cs
- SettingsBindableAttribute.cs
- MsmqIntegrationSecurityElement.cs
- TextElementCollectionHelper.cs
- CodeIdentifier.cs
- XmlSerializerNamespaces.cs
- VirtualizedCellInfoCollection.cs
- TextHintingModeValidation.cs
- TabPanel.cs
- StaticFileHandler.cs
- LinearGradientBrush.cs
- DataServiceQueryException.cs
- WebServiceEnumData.cs
- SystemUdpStatistics.cs
- ViewValidator.cs
- ClientFormsAuthenticationCredentials.cs
- TransformValueSerializer.cs
- UndirectedGraph.cs
- VBIdentifierNameEditor.cs
- ReferenceService.cs
- LocalBuilder.cs
- CssTextWriter.cs
- XmlNodeList.cs
- ScrollPattern.cs
- RightNameExpirationInfoPair.cs
- SoapSchemaImporter.cs
- CodeCatchClauseCollection.cs
- RoleGroup.cs
- SmiEventSink_DeferedProcessing.cs
- EmbeddedMailObjectsCollection.cs
- PartialCachingAttribute.cs
- _BasicClient.cs
- ResXResourceWriter.cs
- TreeNodeBinding.cs
- DataGridViewComponentPropertyGridSite.cs
- StylusSystemGestureEventArgs.cs
- RouteCollection.cs
- BindStream.cs
- ValidationService.cs
- EntityContainer.cs
- DateTimeParse.cs
- FloaterParaClient.cs
- PageFunction.cs
- LazyTextWriterCreator.cs
- SchemaCollectionPreprocessor.cs
- ListSourceHelper.cs
- DataObjectEventArgs.cs
- SqlUtils.cs
- PanelDesigner.cs
- GeneralTransform2DTo3DTo2D.cs
- IPCCacheManager.cs
- OleDbDataAdapter.cs
- CodeIndexerExpression.cs
- CompiledELinqQueryState.cs
- ResourceKey.cs
- StickyNote.cs
- Int32RectConverter.cs
- SQLResource.cs
- SortKey.cs
- DbSetClause.cs
- StringResourceManager.cs
- GeneralTransformGroup.cs
- ValidationUtility.cs
- DropAnimation.xaml.cs
- NamedPipeChannelListener.cs
- CalendarAutomationPeer.cs
- GetChildSubtree.cs
- OleDbPermission.cs
- securitycriticaldata.cs
- AttributeXamlType.cs
- TrackingLocationCollection.cs
- ListGeneralPage.cs
- ContainerControlDesigner.cs
- mansign.cs
- RemoteWebConfigurationHost.cs
- WebPartEditorApplyVerb.cs
- WindowsFormsSynchronizationContext.cs
- ServiceManager.cs
- Cursors.cs
- TraceHwndHost.cs
- DaylightTime.cs
- PasswordTextContainer.cs
- CompositeActivityDesigner.cs
- StateWorkerRequest.cs
- RadioButtonList.cs
- XmlNamespaceManager.cs
- M3DUtil.cs
- _FtpControlStream.cs
- SpecialFolderEnumConverter.cs
- FileDialogCustomPlace.cs
- CommonProperties.cs
- Crypto.cs
- XmlWrappingWriter.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- AnnotationService.cs