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
- TextCharacters.cs
- XamlToRtfWriter.cs
- UnknownWrapper.cs
- WindowsRichEditRange.cs
- WebScriptMetadataInstanceContextProvider.cs
- InstanceHandleConflictException.cs
- FactoryRecord.cs
- _ListenerResponseStream.cs
- SymmetricAlgorithm.cs
- AnimatedTypeHelpers.cs
- ScrollViewer.cs
- TeredoHelper.cs
- ParameterEditorUserControl.cs
- LoginName.cs
- TypeHelpers.cs
- XmlBinaryWriter.cs
- XmlSchemaComplexContent.cs
- MD5HashHelper.cs
- ThumbButtonInfo.cs
- OutputCacheProfile.cs
- StateDesignerConnector.cs
- RegexMatchCollection.cs
- XmlTextReaderImpl.cs
- AuthenticationSection.cs
- XamlPathDataSerializer.cs
- ADMembershipProvider.cs
- Missing.cs
- TableCellCollection.cs
- RightsManagementPermission.cs
- WorkflowMarkupSerializationManager.cs
- LockCookie.cs
- ResourceDescriptionAttribute.cs
- RelOps.cs
- InstanceOwner.cs
- wgx_render.cs
- UrlAuthorizationModule.cs
- Roles.cs
- XmlComment.cs
- AttributeAction.cs
- SubclassTypeValidatorAttribute.cs
- ObjectAnimationBase.cs
- BreakRecordTable.cs
- WindowsFormsLinkLabel.cs
- TableItemProviderWrapper.cs
- WebBrowserNavigatingEventHandler.cs
- UIPermission.cs
- StringWriter.cs
- DeadCharTextComposition.cs
- OleDbError.cs
- InlineUIContainer.cs
- WindowsFormsHostPropertyMap.cs
- AlignmentXValidation.cs
- Crc32.cs
- InnerItemCollectionView.cs
- FolderLevelBuildProvider.cs
- WindowPattern.cs
- PackageDigitalSignature.cs
- ColorTransform.cs
- UniformGrid.cs
- ConditionalExpression.cs
- XmlNullResolver.cs
- ProfileManager.cs
- Literal.cs
- FixedTextBuilder.cs
- UserPreferenceChangingEventArgs.cs
- ToolStripOverflow.cs
- MethodInfo.cs
- NavigationEventArgs.cs
- ReadOnlyDataSourceView.cs
- AttachInfo.cs
- DataDocumentXPathNavigator.cs
- XmlDocumentFieldSchema.cs
- ColumnResult.cs
- _HTTPDateParse.cs
- RandomNumberGenerator.cs
- StreamReader.cs
- TypeCodeDomSerializer.cs
- StorageConditionPropertyMapping.cs
- ProviderSettings.cs
- BookmarkEventArgs.cs
- NameTable.cs
- BaseComponentEditor.cs
- DesignerLinkAdapter.cs
- DataGridViewAdvancedBorderStyle.cs
- CharacterBuffer.cs
- TreeIterators.cs
- DataGridViewCellValueEventArgs.cs
- CodeEventReferenceExpression.cs
- CompoundFileStreamReference.cs
- ConnectionsZone.cs
- DictionaryManager.cs
- DataGridViewLinkColumn.cs
- ToolZone.cs
- EnterpriseServicesHelper.cs
- QueryContinueDragEvent.cs
- IconConverter.cs
- IISUnsafeMethods.cs
- TabControl.cs
- UnsafeNativeMethods.cs
- BasicExpressionVisitor.cs