Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / NewXml / BaseTreeIterator.cs / 1305376 / BaseTreeIterator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Xml { // 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProfilePropertyNameValidator.cs
- WebRequest.cs
- X509CertificateChain.cs
- BamlWriter.cs
- exports.cs
- TraceContextEventArgs.cs
- FrameworkObject.cs
- PrimitiveList.cs
- ConfigurationSection.cs
- SQLInt32.cs
- ApplicationDirectory.cs
- Configuration.cs
- NTAccount.cs
- ExtendedProperty.cs
- DispatcherHookEventArgs.cs
- Button.cs
- LambdaExpression.cs
- CollectionExtensions.cs
- SecurityUtils.cs
- SafeFileMappingHandle.cs
- PrintController.cs
- TemplateKeyConverter.cs
- ToolStripProgressBar.cs
- OleDbPropertySetGuid.cs
- SqlServer2KCompatibilityCheck.cs
- returneventsaver.cs
- _NestedMultipleAsyncResult.cs
- FixedSOMPageConstructor.cs
- LogConverter.cs
- FixedFlowMap.cs
- SliderAutomationPeer.cs
- ToolStripItemEventArgs.cs
- AxisAngleRotation3D.cs
- Table.cs
- EncryptedXml.cs
- DisposableCollectionWrapper.cs
- Material.cs
- TabRenderer.cs
- DBSqlParserTableCollection.cs
- SqlExpressionNullability.cs
- PermissionListSet.cs
- SystemIPInterfaceProperties.cs
- StoreItemCollection.Loader.cs
- OleStrCAMarshaler.cs
- ContextMenu.cs
- SearchForVirtualItemEventArgs.cs
- RectAnimationClockResource.cs
- UIPropertyMetadata.cs
- ToolStripItemCollection.cs
- NativeActivityTransactionContext.cs
- Logging.cs
- SqlDependency.cs
- ProfileSection.cs
- RequestUriProcessor.cs
- TemplateKey.cs
- AdjustableArrowCap.cs
- CacheEntry.cs
- TimeSpanConverter.cs
- DocumentScope.cs
- SequentialUshortCollection.cs
- RadioButtonFlatAdapter.cs
- DataMisalignedException.cs
- SmtpTransport.cs
- ImmutableAssemblyCacheEntry.cs
- StylusLogic.cs
- AbstractDataSvcMapFileLoader.cs
- InfoCardArgumentException.cs
- TablePattern.cs
- EntityStoreSchemaFilterEntry.cs
- RouteValueExpressionBuilder.cs
- DataTemplate.cs
- GuidConverter.cs
- SelectionChangedEventArgs.cs
- documentsequencetextview.cs
- HtmlInputHidden.cs
- FontFamily.cs
- XmlUTF8TextReader.cs
- LedgerEntryCollection.cs
- KeyboardDevice.cs
- InfoCardRSACryptoProvider.cs
- CompositeFontParser.cs
- metadatamappinghashervisitor.cs
- _PooledStream.cs
- PrinterSettings.cs
- FlowPosition.cs
- util.cs
- FilteredAttributeCollection.cs
- SqlClientPermission.cs
- EditorPart.cs
- DeflateStream.cs
- FreezableDefaultValueFactory.cs
- ListViewEditEventArgs.cs
- SafePointer.cs
- UdpDiscoveryEndpoint.cs
- MarshalDirectiveException.cs
- SelfIssuedAuthRSACryptoProvider.cs
- WorkerRequest.cs
- BitmapDownload.cs
- DefinitionUpdate.cs
- ExpressionNormalizer.cs