Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / XPathChildIterator.cs / 1 / XPathChildIterator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace MS.Internal.Xml.XPath { using System; using System.Xml; using System.Xml.XPath; using System.Diagnostics; using System.Globalization; internal class XPathChildIterator: XPathAxisIterator { public XPathChildIterator(XPathNavigator nav, XPathNodeType type) : base(nav, type, /*matchSelf:*/false) {} public XPathChildIterator(XPathNavigator nav, string name, string namespaceURI) : base(nav, name, namespaceURI, /*matchSelf:*/false) {} public XPathChildIterator(XPathChildIterator it) : base(it) {} public override XPathNodeIterator Clone() { return new XPathChildIterator(this); } public override bool MoveNext() { while ((first) ? nav.MoveToFirstChild() : nav.MoveToNext()) { first = false; if (Matches) { position++; return true; } } return false; } } } // 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
- MetadataHelper.cs
- DaylightTime.cs
- LocalizationParserHooks.cs
- Crypto.cs
- CompModHelpers.cs
- SystemDropShadowChrome.cs
- WsiProfilesElement.cs
- WindowsGraphicsCacheManager.cs
- DataGridItemEventArgs.cs
- RadioButtonPopupAdapter.cs
- ProtectedConfigurationProviderCollection.cs
- KeyToListMap.cs
- Page.cs
- Vector3DAnimationUsingKeyFrames.cs
- WebPartDeleteVerb.cs
- HashHelper.cs
- Facet.cs
- RequestNavigateEventArgs.cs
- Wizard.cs
- DataServiceResponse.cs
- DomNameTable.cs
- SqlTypeSystemProvider.cs
- EventProviderWriter.cs
- EmbeddedMailObjectsCollection.cs
- DesignTimeTemplateParser.cs
- SimpleRecyclingCache.cs
- SQLChars.cs
- SchemaConstraints.cs
- SqlCacheDependencyDatabaseCollection.cs
- BasicHttpSecurity.cs
- BindValidationContext.cs
- SessionStateSection.cs
- CustomValidator.cs
- WinCategoryAttribute.cs
- HttpRuntime.cs
- HtmlUtf8RawTextWriter.cs
- EdmMember.cs
- DispatcherOperation.cs
- DesignerCommandAdapter.cs
- ReflectionPermission.cs
- QilChoice.cs
- ServiceDescriptions.cs
- _HelperAsyncResults.cs
- TranslateTransform3D.cs
- ActivationProxy.cs
- FaultCallbackWrapper.cs
- InteropTrackingRecord.cs
- Parameter.cs
- DataBindingValueUIHandler.cs
- IPAddress.cs
- UpdateDelegates.Generated.cs
- TreeView.cs
- EndpointDiscoveryMetadata.cs
- Module.cs
- RelOps.cs
- wmiprovider.cs
- EFDataModelProvider.cs
- Point3DKeyFrameCollection.cs
- IPCCacheManager.cs
- ObjectKeyFrameCollection.cs
- ChtmlPageAdapter.cs
- NamespaceDecl.cs
- storepermission.cs
- XmlSchemaImporter.cs
- DataErrorValidationRule.cs
- DataPagerFieldItem.cs
- OrderedEnumerableRowCollection.cs
- BindMarkupExtensionSerializer.cs
- VectorKeyFrameCollection.cs
- XmlChildEnumerator.cs
- Error.cs
- DataControlFieldsEditor.cs
- SQLDoubleStorage.cs
- IConvertible.cs
- BrushValueSerializer.cs
- HashHelper.cs
- XmlFormatExtensionPointAttribute.cs
- AddingNewEventArgs.cs
- OracleTimeSpan.cs
- BitmapMetadata.cs
- UIHelper.cs
- WebUtility.cs
- MdiWindowListStrip.cs
- ServiceNameCollection.cs
- Console.cs
- RegexMatch.cs
- CodeArrayCreateExpression.cs
- NamespaceCollection.cs
- CounterCreationDataCollection.cs
- EventDescriptor.cs
- EntityCollectionChangedParams.cs
- CornerRadius.cs
- TrustLevel.cs
- DirectoryNotFoundException.cs
- MouseBinding.cs
- PropertyGridEditorPart.cs
- SectionInformation.cs
- SchemaName.cs
- FormViewCommandEventArgs.cs
- CharUnicodeInfo.cs