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
- util.cs
- TableChangeProcessor.cs
- StandardMenuStripVerb.cs
- AtomParser.cs
- RequestResponse.cs
- DataColumnMapping.cs
- RedistVersionInfo.cs
- Rotation3D.cs
- InstanceKeyNotReadyException.cs
- ReferentialConstraint.cs
- BasicAsyncResult.cs
- HtmlEmptyTagControlBuilder.cs
- TCEAdapterGenerator.cs
- Transform.cs
- Label.cs
- Utility.cs
- XmlSchemaValidator.cs
- SwitchExpression.cs
- DbDataReader.cs
- ReachDocumentReferenceCollectionSerializer.cs
- KeyPullup.cs
- WriterOutput.cs
- CorrelationKeyCalculator.cs
- UnsafeNativeMethods.cs
- ColumnClickEvent.cs
- DataGridViewCellMouseEventArgs.cs
- IImplicitResourceProvider.cs
- IndexedGlyphRun.cs
- InterleavedZipPartStream.cs
- Keyboard.cs
- ParameterDataSourceExpression.cs
- LogLogRecordEnumerator.cs
- ToolStripScrollButton.cs
- DataObjectMethodAttribute.cs
- XmlSchemaAttributeGroupRef.cs
- SqlColumnizer.cs
- DropTarget.cs
- Resources.Designer.cs
- ConditionalAttribute.cs
- CssStyleCollection.cs
- nulltextnavigator.cs
- WindowInteropHelper.cs
- ActivityBuilderHelper.cs
- TreeViewImageIndexConverter.cs
- OdbcReferenceCollection.cs
- GroupDescription.cs
- EntryWrittenEventArgs.cs
- InvalidPrinterException.cs
- FileCodeGroup.cs
- DataGridItem.cs
- DataSourceView.cs
- XmlSchemaDatatype.cs
- AxisAngleRotation3D.cs
- DefaultBinder.cs
- ServiceChannelProxy.cs
- DynamicPropertyReader.cs
- PresentationAppDomainManager.cs
- ArgumentOutOfRangeException.cs
- DictionaryEntry.cs
- HitTestParameters.cs
- SafeRightsManagementHandle.cs
- HttpWebRequest.cs
- AspNetCacheProfileAttribute.cs
- ErrorWebPart.cs
- SelectionProcessor.cs
- VisualBasicImportReference.cs
- Native.cs
- contentDescriptor.cs
- __TransparentProxy.cs
- WebRequest.cs
- EntityDataSourceValidationException.cs
- MetadataItemSerializer.cs
- DiscardableAttribute.cs
- SiteMapDataSource.cs
- MaxSessionCountExceededException.cs
- QueryableDataSourceEditData.cs
- NativeCppClassAttribute.cs
- DataColumnChangeEvent.cs
- HttpCapabilitiesEvaluator.cs
- LicenseException.cs
- WebSysDescriptionAttribute.cs
- ValueChangedEventManager.cs
- IfElseDesigner.xaml.cs
- LayoutEngine.cs
- XmlQuerySequence.cs
- EventPrivateKey.cs
- SecurityCriticalDataForSet.cs
- FixedSOMPageConstructor.cs
- CmsUtils.cs
- ListBoxItem.cs
- XPathNodeList.cs
- EntityObject.cs
- EllipseGeometry.cs
- ProfileWorkflowElement.cs
- CollectionView.cs
- CodeAttributeArgumentCollection.cs
- UnsettableComboBox.cs
- GestureRecognitionResult.cs
- AppearanceEditorPart.cs
- SimpleType.cs