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
- FailedToStartupUIException.cs
- Visual3DCollection.cs
- CqlErrorHelper.cs
- ConstraintConverter.cs
- InvalidDataException.cs
- ListViewTableRow.cs
- CaseStatementProjectedSlot.cs
- WindowHideOrCloseTracker.cs
- BypassElementCollection.cs
- WebAdminConfigurationHelper.cs
- ReferenceSchema.cs
- EventRoute.cs
- RenderTargetBitmap.cs
- HtmlImage.cs
- LassoHelper.cs
- Pair.cs
- RegexGroupCollection.cs
- SapiAttributeParser.cs
- AxisAngleRotation3D.cs
- ResourcePermissionBaseEntry.cs
- IResourceProvider.cs
- Int32AnimationBase.cs
- XmlCustomFormatter.cs
- HostProtectionException.cs
- DaylightTime.cs
- QilChoice.cs
- SemanticResolver.cs
- login.cs
- RegistryPermission.cs
- WmpBitmapEncoder.cs
- WindowsToolbar.cs
- TextComposition.cs
- PassportIdentity.cs
- RadioButton.cs
- Membership.cs
- Matrix.cs
- FullTextBreakpoint.cs
- OpacityConverter.cs
- LocalValueEnumerator.cs
- SignatureHelper.cs
- UInt16Storage.cs
- SqlErrorCollection.cs
- BaseParagraph.cs
- AbsoluteQuery.cs
- WindowsIdentity.cs
- CodeAttributeArgument.cs
- ByteViewer.cs
- ControlPersister.cs
- ButtonChrome.cs
- Visual3D.cs
- CodeChecksumPragma.cs
- ComponentCollection.cs
- ProcessHostConfigUtils.cs
- ViewUtilities.cs
- RadioButtonRenderer.cs
- NumberSubstitution.cs
- Misc.cs
- SmtpNegotiateAuthenticationModule.cs
- FederatedMessageSecurityOverHttpElement.cs
- HttpListenerPrefixCollection.cs
- DesignTimeParseData.cs
- LogArchiveSnapshot.cs
- XPathNodeHelper.cs
- Bitmap.cs
- TimerEventSubscription.cs
- ToolStripItemCollection.cs
- StyleXamlParser.cs
- FloatUtil.cs
- TheQuery.cs
- ClientTargetCollection.cs
- LinkUtilities.cs
- ButtonField.cs
- BooleanExpr.cs
- OpCellTreeNode.cs
- RSAOAEPKeyExchangeFormatter.cs
- DataConnectionHelper.cs
- RuntimeConfig.cs
- FactoryGenerator.cs
- Application.cs
- Variable.cs
- Matrix3DConverter.cs
- MemberProjectionIndex.cs
- RSAOAEPKeyExchangeFormatter.cs
- XmlSerializerSection.cs
- CursorInteropHelper.cs
- ZipIOCentralDirectoryBlock.cs
- MobileComponentEditorPage.cs
- WindowsSysHeader.cs
- CompiledIdentityConstraint.cs
- Material.cs
- DataGridDetailsPresenter.cs
- TypeFieldSchema.cs
- DbProviderFactories.cs
- BordersPage.cs
- Interlocked.cs
- TextBoxLine.cs
- DesignSurfaceManager.cs
- PbrsForward.cs
- exports.cs
- ToolStripPanelDesigner.cs