Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathException.cs
- HtmlProps.cs
- ManagementQuery.cs
- TextSelectionHighlightLayer.cs
- ConfigXmlWhitespace.cs
- DocumentSchemaValidator.cs
- HierarchicalDataBoundControl.cs
- NamespaceList.cs
- SessionStateUtil.cs
- NamedObject.cs
- WmlPageAdapter.cs
- ResponseBodyWriter.cs
- EDesignUtil.cs
- NetCodeGroup.cs
- CustomBindingCollectionElement.cs
- OrderedDictionary.cs
- KeyMatchBuilder.cs
- FixUp.cs
- ObjectDataSourceView.cs
- StaticResourceExtension.cs
- QilInvokeEarlyBound.cs
- EntitySetBase.cs
- ReferenceEqualityComparer.cs
- ClientTarget.cs
- KeySplineConverter.cs
- MethodRental.cs
- ProjectionPlanCompiler.cs
- ClientEndpointLoader.cs
- SynchronizedInputProviderWrapper.cs
- PeerContact.cs
- TextEncodedRawTextWriter.cs
- DataGridViewCellPaintingEventArgs.cs
- TriggerBase.cs
- LayoutInformation.cs
- XmlAttributeCollection.cs
- COM2AboutBoxPropertyDescriptor.cs
- QueueException.cs
- X509SecurityToken.cs
- HtmlContainerControl.cs
- BulletChrome.cs
- ObjectContextServiceProvider.cs
- XPathQueryGenerator.cs
- MenuTracker.cs
- AlternateViewCollection.cs
- ValidationEventArgs.cs
- ClientSideQueueItem.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- AutomationPatternInfo.cs
- DateTimeConverter.cs
- PriorityBindingExpression.cs
- LinqTreeNodeEvaluator.cs
- IdleTimeoutMonitor.cs
- ProfileManager.cs
- ProfileService.cs
- DiffuseMaterial.cs
- XmlMtomReader.cs
- DataBoundLiteralControl.cs
- BoundField.cs
- SEHException.cs
- TextEndOfLine.cs
- VariableElement.cs
- OutOfMemoryException.cs
- ExternalException.cs
- ThreadStartException.cs
- StopRoutingHandler.cs
- SoapInteropTypes.cs
- DrawItemEvent.cs
- _NTAuthentication.cs
- SqlConnectionPoolProviderInfo.cs
- CompositeDesignerAccessibleObject.cs
- StandardBindingElementCollection.cs
- NetCodeGroup.cs
- SafeRightsManagementEnvironmentHandle.cs
- DataDesignUtil.cs
- KnownBoxes.cs
- PerspectiveCamera.cs
- NativeMethods.cs
- VirtualDirectoryMappingCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- ListSortDescription.cs
- SrgsRule.cs
- KeyGestureConverter.cs
- ConfigPathUtility.cs
- safex509handles.cs
- AssemblyBuilderData.cs
- RegisteredScript.cs
- StringExpressionSet.cs
- MethodBody.cs
- InvokePattern.cs
- ExpressionReplacer.cs
- ListViewSelectEventArgs.cs
- DesignerDataSourceView.cs
- ContentPropertyAttribute.cs
- LastQueryOperator.cs
- RectConverter.cs
- DependencyPropertyDescriptor.cs
- PathSegment.cs
- PropertyMappingExceptionEventArgs.cs
- GeneratedContractType.cs
- LocalizationParserHooks.cs