Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FloatUtil.cs
- MessageQueuePermissionEntry.cs
- webproxy.cs
- CollectionEditorDialog.cs
- LifetimeServices.cs
- Faults.cs
- webbrowsersite.cs
- WorkflowViewManager.cs
- DetailsViewDeletedEventArgs.cs
- FrameworkTemplate.cs
- PolyLineSegment.cs
- PropertyValueChangedEvent.cs
- EntityContainerRelationshipSetEnd.cs
- DurableOperationContext.cs
- RequiredFieldValidator.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- DataException.cs
- StatusStrip.cs
- SessionState.cs
- SetterBaseCollection.cs
- RangeValidator.cs
- QueryCacheKey.cs
- XhtmlBasicPanelAdapter.cs
- SqlClientWrapperSmiStreamChars.cs
- CodeDirectiveCollection.cs
- ViewLoader.cs
- ProtocolInformationWriter.cs
- PointCollection.cs
- DataGridViewMethods.cs
- TextServicesManager.cs
- Mutex.cs
- RegexWriter.cs
- XmlEntity.cs
- RefExpr.cs
- SmtpNegotiateAuthenticationModule.cs
- BufferedResponseStream.cs
- LoginCancelEventArgs.cs
- CompilerErrorCollection.cs
- EntityDataSourceChangingEventArgs.cs
- uribuilder.cs
- RegexGroupCollection.cs
- AndCondition.cs
- WebZone.cs
- DefaultWorkflowTransactionService.cs
- documentation.cs
- EmptyQuery.cs
- DataGridRowClipboardEventArgs.cs
- TimeSpanSecondsConverter.cs
- WebEncodingValidator.cs
- SafePEFileHandle.cs
- XmlSchemaAttribute.cs
- BlockUIContainer.cs
- DataReaderContainer.cs
- ComboBoxAutomationPeer.cs
- MetadataArtifactLoaderFile.cs
- PropertySegmentSerializationProvider.cs
- ScrollChangedEventArgs.cs
- SystemKeyConverter.cs
- MimeWriter.cs
- LicenseException.cs
- CodePageUtils.cs
- WebBrowserHelper.cs
- XmlUrlResolver.cs
- DomNameTable.cs
- XPathParser.cs
- EmissiveMaterial.cs
- SessionParameter.cs
- WindowsGraphics.cs
- ChannelServices.cs
- InstanceView.cs
- MemberMemberBinding.cs
- TrustExchangeException.cs
- SiteMapNodeCollection.cs
- XPathParser.cs
- Maps.cs
- ObjectDataSourceMethodEventArgs.cs
- DirectoryGroupQuery.cs
- EventProviderClassic.cs
- SoapIgnoreAttribute.cs
- InternalResources.cs
- QilIterator.cs
- LoginView.cs
- SchemaConstraints.cs
- unitconverter.cs
- DataGridViewSelectedCellCollection.cs
- ThreadAbortException.cs
- RouteParameter.cs
- PenCursorManager.cs
- GridViewDeletedEventArgs.cs
- Matrix3DStack.cs
- Window.cs
- SerializerWriterEventHandlers.cs
- WorkflowMarkupSerializerMapping.cs
- WSSecurityXXX2005.cs
- InternalBufferOverflowException.cs
- DocobjHost.cs
- BindingSource.cs
- LZCodec.cs
- ThemeDirectoryCompiler.cs
- XmlILOptimizerVisitor.cs