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
- _HelperAsyncResults.cs
- ItemTypeToolStripMenuItem.cs
- XomlCompilerError.cs
- SrgsRule.cs
- WriteFileContext.cs
- ResourceAttributes.cs
- HostedTcpTransportManager.cs
- UniqueEventHelper.cs
- RegisteredScript.cs
- TreeView.cs
- Task.cs
- Types.cs
- FixedPageStructure.cs
- IPAddress.cs
- CompiledIdentityConstraint.cs
- ModelItemImpl.cs
- WebPartEventArgs.cs
- GeneralTransform3DCollection.cs
- TabControlEvent.cs
- BamlRecordHelper.cs
- DockingAttribute.cs
- DictionaryContent.cs
- XmlReturnReader.cs
- glyphs.cs
- XmlQueryType.cs
- NamedPipeWorkerProcess.cs
- OrderedEnumerableRowCollection.cs
- TreeViewDesigner.cs
- RangeValueProviderWrapper.cs
- KnownTypesProvider.cs
- MetadataSource.cs
- WindowsScroll.cs
- SortDescription.cs
- RegexWorker.cs
- EnlistmentTraceIdentifier.cs
- AuthenticatedStream.cs
- Compilation.cs
- AssociationSetMetadata.cs
- BaseServiceProvider.cs
- MultipartIdentifier.cs
- CompiledRegexRunnerFactory.cs
- SizeAnimationBase.cs
- ConfigUtil.cs
- SQLConvert.cs
- SystemUnicastIPAddressInformation.cs
- PackUriHelper.cs
- DataErrorValidationRule.cs
- IIS7WorkerRequest.cs
- TraceSource.cs
- OleDbConnectionInternal.cs
- ToolStripManager.cs
- HitTestDrawingContextWalker.cs
- WindowsListView.cs
- LogManagementAsyncResult.cs
- EventArgs.cs
- ReferenceConverter.cs
- LayoutInformation.cs
- XmlCodeExporter.cs
- FixedSOMSemanticBox.cs
- ComplusEndpointConfigContainer.cs
- SocketException.cs
- SafeCryptHandles.cs
- RemoteWebConfigurationHost.cs
- WebResourceAttribute.cs
- ActivitySurrogate.cs
- TraceProvider.cs
- CallContext.cs
- DefaultPropertyAttribute.cs
- SessionStateModule.cs
- ServiceElement.cs
- DataGridViewColumn.cs
- CopyNodeSetAction.cs
- DuplexChannelFactory.cs
- ConfigXmlReader.cs
- OrderingQueryOperator.cs
- GeometryCombineModeValidation.cs
- BufferModeSettings.cs
- StrokeRenderer.cs
- SqlXml.cs
- ValueUnavailableException.cs
- mediaeventargs.cs
- Parsers.cs
- DeploymentSectionCache.cs
- ExpressionEvaluator.cs
- NullableLongSumAggregationOperator.cs
- PolicyValidationException.cs
- WebPartCloseVerb.cs
- FrameworkElementAutomationPeer.cs
- WindowsListViewItemCheckBox.cs
- StylusPlugInCollection.cs
- XmlWriter.cs
- DataViewManagerListItemTypeDescriptor.cs
- SequenceRange.cs
- GiveFeedbackEventArgs.cs
- Rotation3D.cs
- PriorityQueue.cs
- RequestSecurityTokenResponseCollection.cs
- HttpUnhandledOperationInvoker.cs
- InheritedPropertyChangedEventArgs.cs
- BindingGraph.cs