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
- ProviderManager.cs
- ADMembershipProvider.cs
- WebColorConverter.cs
- ProtocolsConfigurationHandler.cs
- BindableTemplateBuilder.cs
- EmbossBitmapEffect.cs
- AnnotationResource.cs
- HtmlShim.cs
- StickyNoteAnnotations.cs
- EndOfStreamException.cs
- Matrix3D.cs
- SqlUtil.cs
- EntityContainer.cs
- ObjectListGeneralPage.cs
- Typography.cs
- BindingList.cs
- NumericUpDown.cs
- WindowsStatusBar.cs
- DispatcherFrame.cs
- SessionStateUtil.cs
- HttpListenerResponse.cs
- XmlCharCheckingReader.cs
- NamespaceMapping.cs
- Internal.cs
- OperandQuery.cs
- XmlReflectionMember.cs
- PriorityBinding.cs
- ListDictionaryInternal.cs
- HMACSHA384.cs
- FixedFlowMap.cs
- Table.cs
- Matrix3DValueSerializer.cs
- SafeRegistryKey.cs
- MethodImplAttribute.cs
- PackageDigitalSignature.cs
- EncoderParameters.cs
- InvalidAsynchronousStateException.cs
- ToolStripDropDownClosingEventArgs.cs
- ServiceContractDetailViewControl.cs
- SmiXetterAccessMap.cs
- sitestring.cs
- FontClient.cs
- Exceptions.cs
- ComponentManagerBroker.cs
- DelegateArgument.cs
- StringInfo.cs
- ReflectionUtil.cs
- XPathNodeList.cs
- XmlUtil.cs
- X509Extension.cs
- SBCSCodePageEncoding.cs
- ErrorHandler.cs
- CompositeFontFamily.cs
- EnumerableRowCollectionExtensions.cs
- DoubleAnimationUsingPath.cs
- BinHexDecoder.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- NavigationProperty.cs
- RsaElement.cs
- TabControl.cs
- QueryCursorEventArgs.cs
- BrowserDefinitionCollection.cs
- ConsoleTraceListener.cs
- CompositeActivityTypeDescriptorProvider.cs
- SqlServices.cs
- HttpStreamMessage.cs
- parserscommon.cs
- SqlDataReader.cs
- IgnoreFileBuildProvider.cs
- GraphicsPath.cs
- QuaternionAnimationBase.cs
- HtmlTableCellCollection.cs
- SlipBehavior.cs
- MetafileHeaderWmf.cs
- UIElement3D.cs
- WizardForm.cs
- PartManifestEntry.cs
- DataTemplateKey.cs
- Decimal.cs
- RemotingService.cs
- EdmPropertyAttribute.cs
- CacheRequest.cs
- TreeNodeCollection.cs
- XamlPointCollectionSerializer.cs
- EvidenceTypeDescriptor.cs
- OutputScope.cs
- PrtTicket_Base.cs
- MimeMultiPart.cs
- SimpleRecyclingCache.cs
- ToolTipAutomationPeer.cs
- FileDialog_Vista_Interop.cs
- FullTextBreakpoint.cs
- SQLSingleStorage.cs
- TextFormatter.cs
- SchemaEntity.cs
- StrongName.cs
- CodeTypeParameterCollection.cs
- DesignSurfaceEvent.cs
- MatrixIndependentAnimationStorage.cs
- ActivityWithResult.cs