Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / XPathSelfQuery.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExplicitDiscriminatorMap.cs
- HostAdapter.cs
- IncrementalReadDecoders.cs
- exports.cs
- ExpressionBuilder.cs
- xmlglyphRunInfo.cs
- SqlAliasesReferenced.cs
- ColorConvertedBitmapExtension.cs
- GlyphsSerializer.cs
- Line.cs
- SQlBooleanStorage.cs
- LineServices.cs
- Line.cs
- BaseCodeDomTreeGenerator.cs
- HashMembershipCondition.cs
- QilList.cs
- EmptyStringExpandableObjectConverter.cs
- TableItemProviderWrapper.cs
- EmptyEnumerator.cs
- CharacterMetrics.cs
- HttpHandlersSection.cs
- DrawingBrush.cs
- ProfileProvider.cs
- DataServiceSaveChangesEventArgs.cs
- TileBrush.cs
- xmlsaver.cs
- Menu.cs
- FrameworkContentElement.cs
- SystemIPInterfaceProperties.cs
- BindingParameterCollection.cs
- SoapExtensionImporter.cs
- PropertyMapper.cs
- Composition.cs
- RequestUriProcessor.cs
- HostedHttpRequestAsyncResult.cs
- DataTransferEventArgs.cs
- LambdaCompiler.ControlFlow.cs
- ResXResourceWriter.cs
- DragCompletedEventArgs.cs
- WhereQueryOperator.cs
- TemplateModeChangedEventArgs.cs
- odbcmetadatafactory.cs
- FontUnitConverter.cs
- PolyLineSegmentFigureLogic.cs
- HotSpotCollectionEditor.cs
- _ListenerResponseStream.cs
- TextOnlyOutput.cs
- UnsafeNativeMethods.cs
- DbExpressionVisitor.cs
- OpCopier.cs
- DataGridView.cs
- ActivitySurrogateSelector.cs
- InplaceBitmapMetadataWriter.cs
- AspCompat.cs
- PassportIdentity.cs
- Utilities.cs
- DefaultAssemblyResolver.cs
- MergeLocalizationDirectives.cs
- DecimalFormatter.cs
- HwndProxyElementProvider.cs
- GuidelineCollection.cs
- OperatorExpressions.cs
- TraceListener.cs
- MatrixConverter.cs
- ToolBarPanel.cs
- ZipArchive.cs
- ApplicationActivator.cs
- ParseNumbers.cs
- FileChangesMonitor.cs
- GenericWebPart.cs
- DoubleAnimation.cs
- Soap.cs
- XPathArrayIterator.cs
- SqlClientMetaDataCollectionNames.cs
- DiscoveryDocumentLinksPattern.cs
- EntityDataSourceWrapper.cs
- GeneralTransform3DCollection.cs
- SQLDateTimeStorage.cs
- DataSourceControlBuilder.cs
- WorkflowTraceTransfer.cs
- Simplifier.cs
- TextTreeInsertElementUndoUnit.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- AssemblyLoader.cs
- DeclaredTypeElement.cs
- SdlChannelSink.cs
- TimeoutTimer.cs
- RemotingServices.cs
- ResourcesGenerator.cs
- ScalarOps.cs
- AutomationPattern.cs
- ThemeDictionaryExtension.cs
- ProcessProtocolHandler.cs
- WmlPageAdapter.cs
- BevelBitmapEffect.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Literal.cs
- BooleanAnimationBase.cs
- StyleReferenceConverter.cs
- MSG.cs