Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / XPath / Internal / XPathSelfQuery.cs / 1 / XPathSelfQuery.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; internal sealed class XPathSelfQuery : BaseAxisQuery { public XPathSelfQuery(Query qyInput, string Name, string Prefix, XPathNodeType Type) : base(qyInput, Name, Prefix, Type) {} private XPathSelfQuery(XPathSelfQuery other) : base(other) { } public override XPathNavigator Advance() { while ((currentNode = qyInput.Advance()) != null) { if (matches(currentNode)) { position = 1; return currentNode; } } return null; } public override XPathNodeIterator Clone() { return new XPathSelfQuery(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace MS.Internal.Xml.XPath { using System; using System.Xml; using System.Xml.XPath; using System.Diagnostics; internal sealed class XPathSelfQuery : BaseAxisQuery { public XPathSelfQuery(Query qyInput, string Name, string Prefix, XPathNodeType Type) : base(qyInput, Name, Prefix, Type) {} private XPathSelfQuery(XPathSelfQuery other) : base(other) { } public override XPathNavigator Advance() { while ((currentNode = qyInput.Advance()) != null) { if (matches(currentNode)) { position = 1; return currentNode; } } return null; } public override XPathNodeIterator Clone() { return new XPathSelfQuery(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewControlCollection.cs
- DbProviderFactoriesConfigurationHandler.cs
- OutOfProcStateClientManager.cs
- basecomparevalidator.cs
- ResourcesBuildProvider.cs
- Currency.cs
- HwndMouseInputProvider.cs
- Span.cs
- WindowsListViewGroup.cs
- Fonts.cs
- GradientBrush.cs
- SqlConnection.cs
- ArgumentException.cs
- DataBoundControl.cs
- documentsequencetextview.cs
- AssemblyAssociatedContentFileAttribute.cs
- AdvancedBindingPropertyDescriptor.cs
- FileStream.cs
- EditingScopeUndoUnit.cs
- EndpointDispatcher.cs
- ServicePointManagerElement.cs
- DataBindingHandlerAttribute.cs
- DbConnectionPoolCounters.cs
- DataListCommandEventArgs.cs
- DelegateOutArgument.cs
- uribuilder.cs
- ListViewInsertionMark.cs
- SendMailErrorEventArgs.cs
- PropertyGridCommands.cs
- SymbolMethod.cs
- RowToFieldTransformer.cs
- figurelengthconverter.cs
- CheckedListBox.cs
- X500Name.cs
- NavigatorInput.cs
- SafeNativeMethods.cs
- AsyncWaitHandle.cs
- ListViewCancelEventArgs.cs
- QilInvokeEarlyBound.cs
- EditBehavior.cs
- SystemGatewayIPAddressInformation.cs
- InputScopeManager.cs
- CopyNodeSetAction.cs
- SQLUtility.cs
- DesignTimeParseData.cs
- DefaultObjectMappingItemCollection.cs
- RegexReplacement.cs
- Native.cs
- GenericTransactionFlowAttribute.cs
- ExpressionPrinter.cs
- ContentIterators.cs
- MaxValueConverter.cs
- EventArgs.cs
- XmlEncodedRawTextWriter.cs
- SamlAdvice.cs
- StateBag.cs
- AutomationProperty.cs
- TextDecorations.cs
- SafeSecurityHandles.cs
- UrlMapping.cs
- RequestResponse.cs
- ObservableDictionary.cs
- ImageList.cs
- SystemNetworkInterface.cs
- TextServicesHost.cs
- PropertyNames.cs
- X509Certificate2Collection.cs
- CheckBoxList.cs
- AttributeEmitter.cs
- PeerNearMe.cs
- FileController.cs
- ObjectMemberMapping.cs
- ADMembershipProvider.cs
- TransactionManagerProxy.cs
- Point3DValueSerializer.cs
- WebRequestModuleElement.cs
- ButtonDesigner.cs
- UIElementParaClient.cs
- EntityDataSourceContainerNameConverter.cs
- SystemIPGlobalStatistics.cs
- TextComposition.cs
- M3DUtil.cs
- ByteAnimationUsingKeyFrames.cs
- MatrixAnimationUsingPath.cs
- DbConnectionInternal.cs
- DataGridViewSelectedCellCollection.cs
- StaticFileHandler.cs
- WindowsScroll.cs
- PageMediaType.cs
- ContentTextAutomationPeer.cs
- OrderingExpression.cs
- Schema.cs
- SafeLibraryHandle.cs
- AuthenticateEventArgs.cs
- ThreadStateException.cs
- Utils.cs
- Cursors.cs
- XsltException.cs
- ModelFactory.cs
- UseManagedPresentationBindingElementImporter.cs