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
- TransactionScopeDesigner.cs
- Matrix3DConverter.cs
- DesignerActionPanel.cs
- ResourceDescriptionAttribute.cs
- FieldBuilder.cs
- StatusBarItem.cs
- SqlInternalConnectionSmi.cs
- SqlPersonalizationProvider.cs
- CacheVirtualItemsEvent.cs
- GroupDescription.cs
- Win32Native.cs
- TextServicesProperty.cs
- ListBoxAutomationPeer.cs
- Polyline.cs
- SeparatorAutomationPeer.cs
- XamlReader.cs
- EpmSyndicationContentDeSerializer.cs
- DataGridViewSortCompareEventArgs.cs
- AttributeData.cs
- CustomBinding.cs
- MenuCommands.cs
- TraceProvider.cs
- TriggerBase.cs
- Rect3DConverter.cs
- PtsCache.cs
- View.cs
- InputMethodStateChangeEventArgs.cs
- BitStream.cs
- Keyboard.cs
- ValueQuery.cs
- GenericUI.cs
- DispatcherHookEventArgs.cs
- ListBoxItem.cs
- NonClientArea.cs
- DefaultWorkflowTransactionService.cs
- BitmapEffectInput.cs
- BoolExpr.cs
- DoubleAnimation.cs
- CanonicalizationDriver.cs
- bindurihelper.cs
- BasePropertyDescriptor.cs
- ExcCanonicalXml.cs
- ControlPropertyNameConverter.cs
- IsolationInterop.cs
- WindowsHyperlink.cs
- SqlRetyper.cs
- NavigationPropertyEmitter.cs
- Iis7Helper.cs
- ParagraphResult.cs
- NavigationPropertyEmitter.cs
- DoubleSumAggregationOperator.cs
- ClientScriptItemCollection.cs
- OracleRowUpdatingEventArgs.cs
- EntityDataSourceContextDisposingEventArgs.cs
- DocumentReference.cs
- TextViewBase.cs
- DataGridTableCollection.cs
- DetailsViewUpdatedEventArgs.cs
- TableCell.cs
- Stream.cs
- QueryCacheManager.cs
- Base64Encoder.cs
- SafeTimerHandle.cs
- TraceSection.cs
- QueryGenerator.cs
- SqlCommand.cs
- GroupDescription.cs
- AdapterDictionary.cs
- ParserOptions.cs
- HtmlInputReset.cs
- IERequestCache.cs
- AnonymousIdentificationSection.cs
- FilterException.cs
- _CommandStream.cs
- InheritedPropertyDescriptor.cs
- InvokeGenerator.cs
- SignatureHelper.cs
- LineInfo.cs
- DataServiceEntityAttribute.cs
- DataGridViewRow.cs
- ImageList.cs
- TransformerConfigurationWizardBase.cs
- DLinqTableProvider.cs
- SafeUserTokenHandle.cs
- CharAnimationUsingKeyFrames.cs
- GenericPrincipal.cs
- ParseNumbers.cs
- RotateTransform.cs
- FormattedTextSymbols.cs
- ProxyGenerationError.cs
- FrameworkPropertyMetadata.cs
- DirectoryInfo.cs
- ObjectComplexPropertyMapping.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- GridViewEditEventArgs.cs
- Helpers.cs
- BinaryCommonClasses.cs
- SqlCacheDependencyDatabase.cs
- DSGeneratorProblem.cs
- BaseCAMarshaler.cs