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
- Pool.cs
- KeyPressEvent.cs
- HttpAsyncResult.cs
- TdsParserSafeHandles.cs
- Deserializer.cs
- SettingsProperty.cs
- RadioButton.cs
- PageBuildProvider.cs
- Style.cs
- RegexCompiler.cs
- StylusDevice.cs
- ThousandthOfEmRealPoints.cs
- DebuggerAttributes.cs
- XmlILOptimizerVisitor.cs
- EastAsianLunisolarCalendar.cs
- XPathNodeIterator.cs
- DocumentDesigner.cs
- Monitor.cs
- SortQueryOperator.cs
- StandardOleMarshalObject.cs
- AlgoModule.cs
- CollectionType.cs
- Internal.cs
- VisualStateGroup.cs
- EasingQuaternionKeyFrame.cs
- ColorAnimation.cs
- SchemaAttDef.cs
- ObjectListItem.cs
- ExpressionStringBuilder.cs
- BackoffTimeoutHelper.cs
- XamlPoint3DCollectionSerializer.cs
- DataColumnSelectionConverter.cs
- SubMenuStyle.cs
- MetadataCollection.cs
- GifBitmapDecoder.cs
- FillErrorEventArgs.cs
- WebPartAddingEventArgs.cs
- LocalServiceSecuritySettingsElement.cs
- StickyNoteHelper.cs
- ReliabilityContractAttribute.cs
- DependencyProperty.cs
- ExpressionBuilderContext.cs
- Timer.cs
- ComboBoxRenderer.cs
- ObjectListDataBindEventArgs.cs
- ColumnMap.cs
- DataFieldEditor.cs
- OracleFactory.cs
- EntityDataSourceQueryBuilder.cs
- Helper.cs
- XmlEntityReference.cs
- BitVector32.cs
- FloaterParagraph.cs
- PermissionToken.cs
- ProgressBarRenderer.cs
- Header.cs
- ActivityTypeDesigner.xaml.cs
- Action.cs
- DynamicPropertyReader.cs
- streamingZipPartStream.cs
- BitmapDownload.cs
- SizeKeyFrameCollection.cs
- DataProtection.cs
- sortedlist.cs
- UnsafeNativeMethods.cs
- DispatchChannelSink.cs
- TlsnegoTokenProvider.cs
- TriggerCollection.cs
- Range.cs
- TextComposition.cs
- DesignerAdapterAttribute.cs
- CompilerError.cs
- elementinformation.cs
- AspNetCacheProfileAttribute.cs
- COM2ColorConverter.cs
- SettingsSavedEventArgs.cs
- ToolStripPanelRow.cs
- Cell.cs
- DbExpressionVisitor.cs
- ImageSource.cs
- StrongNameMembershipCondition.cs
- TextTabProperties.cs
- AdornedElementPlaceholder.cs
- sqlmetadatafactory.cs
- FormattedText.cs
- Journaling.cs
- ReadOnlyHierarchicalDataSourceView.cs
- BmpBitmapEncoder.cs
- IPipelineRuntime.cs
- SqlMethodTransformer.cs
- InkCanvas.cs
- UMPAttributes.cs
- DataServiceHost.cs
- ChangeNode.cs
- DefaultValueAttribute.cs
- ProcessThreadCollection.cs
- CookieHandler.cs
- CodeCatchClauseCollection.cs
- DocumentViewerConstants.cs
- XomlCompilerResults.cs