Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / XPath / Internal / XPathSelfQuery.cs / 2 / 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
- AdornerPresentationContext.cs
- ImageListUtils.cs
- TreeWalker.cs
- EntityContainerRelationshipSet.cs
- ExpressionLexer.cs
- StorageSetMapping.cs
- CardSpaceSelector.cs
- SettingsAttributeDictionary.cs
- TableLayoutStyle.cs
- FixedPageAutomationPeer.cs
- CodeObject.cs
- WebPartChrome.cs
- MetafileEditor.cs
- InheritanceContextChangedEventManager.cs
- log.cs
- SessionKeyExpiredException.cs
- DrawTreeNodeEventArgs.cs
- CorrelationManager.cs
- Point3DConverter.cs
- WebPartConnectionsCancelVerb.cs
- SoapIgnoreAttribute.cs
- IUnknownConstantAttribute.cs
- ToolStripProgressBar.cs
- DataObjectPastingEventArgs.cs
- TemplateApplicationHelper.cs
- SoapHttpTransportImporter.cs
- EventHandlersDesigner.cs
- EnvelopedPkcs7.cs
- SequentialOutput.cs
- PropertyHelper.cs
- MaskInputRejectedEventArgs.cs
- SafeHandles.cs
- WebUtil.cs
- FontNamesConverter.cs
- WindowsAuthenticationEventArgs.cs
- ipaddressinformationcollection.cs
- DbProviderConfigurationHandler.cs
- CompiledRegexRunnerFactory.cs
- DeclaredTypeValidator.cs
- TemplateBindingExtension.cs
- PolicyValidationException.cs
- SqlBuffer.cs
- DescendentsWalkerBase.cs
- ResourceContainer.cs
- SafeRightsManagementPubHandle.cs
- SpecialFolderEnumConverter.cs
- SqlNode.cs
- HelpInfo.cs
- ReverseInheritProperty.cs
- LazyInitializer.cs
- DynamicQueryableWrapper.cs
- AssociationSetEnd.cs
- DBAsyncResult.cs
- CompilerParameters.cs
- EntityContainerEntitySetDefiningQuery.cs
- DataServiceProcessingPipeline.cs
- XPathDocumentIterator.cs
- HandlerElement.cs
- DocumentOrderComparer.cs
- ClientBuildManager.cs
- HtmlButton.cs
- MDIControlStrip.cs
- ResourceSet.cs
- ConfigurationSectionGroupCollection.cs
- Crc32.cs
- HitTestParameters3D.cs
- TextSimpleMarkerProperties.cs
- Point3D.cs
- SystemKeyConverter.cs
- DataGridViewCellCollection.cs
- SimpleWorkerRequest.cs
- RoleBoolean.cs
- Variant.cs
- DataBoundControlActionList.cs
- IDReferencePropertyAttribute.cs
- HierarchicalDataBoundControl.cs
- AtlasWeb.Designer.cs
- VersionedStreamOwner.cs
- ProxyWebPartManager.cs
- OptimalBreakSession.cs
- TimeEnumHelper.cs
- TraceListeners.cs
- DrawingImage.cs
- ToolTipAutomationPeer.cs
- TextModifierScope.cs
- EntityContainer.cs
- ComplexObject.cs
- CssClassPropertyAttribute.cs
- SqlCommandSet.cs
- CheckedPointers.cs
- JpegBitmapDecoder.cs
- TraceData.cs
- HttpCookiesSection.cs
- ThreadBehavior.cs
- QuadraticBezierSegment.cs
- SystemPens.cs
- TraceSection.cs
- PaintEvent.cs
- TimerEventSubscription.cs
- TreeViewImageKeyConverter.cs