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
- IRCollection.cs
- DetailsViewUpdatedEventArgs.cs
- ArraySet.cs
- EntityViewGenerationAttribute.cs
- InstanceLockedException.cs
- TableLayoutSettings.cs
- WebPartEditorOkVerb.cs
- ReachVisualSerializerAsync.cs
- WindowsListViewItem.cs
- OleDbRowUpdatingEvent.cs
- InstalledFontCollection.cs
- SourceFileBuildProvider.cs
- ObjectCacheHost.cs
- KnownAssemblyEntry.cs
- ImageIndexConverter.cs
- CompilerTypeWithParams.cs
- PageParserFilter.cs
- ConstraintStruct.cs
- NetworkInformationException.cs
- UIServiceHelper.cs
- DependencyProperty.cs
- XhtmlConformanceSection.cs
- DataBindingHandlerAttribute.cs
- WpfPayload.cs
- StringInfo.cs
- OdbcConnectionOpen.cs
- LogWriteRestartAreaAsyncResult.cs
- CompilerInfo.cs
- XmlDocumentType.cs
- ManagedWndProcTracker.cs
- XPathPatternBuilder.cs
- HttpCachePolicyElement.cs
- CaseStatementSlot.cs
- arabicshape.cs
- EnumerableValidator.cs
- HideDisabledControlAdapter.cs
- ConfigurationProperty.cs
- DiscoveryInnerClientManaged11.cs
- SerializationEventsCache.cs
- TogglePatternIdentifiers.cs
- Pair.cs
- CodeTypeReference.cs
- VBCodeProvider.cs
- UIElementHelper.cs
- PhysicalOps.cs
- X500Name.cs
- CellLabel.cs
- CommandHelper.cs
- Animatable.cs
- DataGridViewImageColumn.cs
- DiscriminatorMap.cs
- MimeParameters.cs
- UriScheme.cs
- _NativeSSPI.cs
- ExpressionBuilder.cs
- TimerEventSubscription.cs
- ClientSideQueueItem.cs
- Literal.cs
- BasicExpressionVisitor.cs
- XmlReflectionImporter.cs
- OleDbConnectionFactory.cs
- VectorCollectionConverter.cs
- CodeCommentStatementCollection.cs
- RadioButtonList.cs
- MouseEventArgs.cs
- XPathDocumentNavigator.cs
- WebUtil.cs
- SimpleWorkerRequest.cs
- ComboBoxItem.cs
- ProcessHostServerConfig.cs
- Scripts.cs
- DecimalAnimationUsingKeyFrames.cs
- ValidationHelper.cs
- TransformerInfoCollection.cs
- HtmlInputFile.cs
- TrustLevel.cs
- SuppressIldasmAttribute.cs
- InkCanvasAutomationPeer.cs
- UnsupportedPolicyOptionsException.cs
- BaseTemplateBuildProvider.cs
- ForceCopyBuildProvider.cs
- AsyncCompletedEventArgs.cs
- DataBindingList.cs
- XmlSchemaSimpleContentRestriction.cs
- GlobalProxySelection.cs
- SimplePropertyEntry.cs
- TypeDependencyAttribute.cs
- HistoryEventArgs.cs
- XmlUnspecifiedAttribute.cs
- XmlSchemaCompilationSettings.cs
- IssuanceLicense.cs
- DetailsViewPagerRow.cs
- ValueType.cs
- SemanticResultValue.cs
- PasswordRecoveryAutoFormat.cs
- SqlBulkCopyColumnMapping.cs
- BasicCellRelation.cs
- RolePrincipal.cs
- CollectionViewGroup.cs
- httpserverutility.cs