Code:
/ DotNET / DotNET / 8.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
- DataBinder.cs
- Constant.cs
- TreeNodeStyleCollection.cs
- EventMap.cs
- EditingContext.cs
- TableLayoutPanelCellPosition.cs
- XPathNode.cs
- WriteStateInfoBase.cs
- PackageDigitalSignature.cs
- ImmutableAssemblyCacheEntry.cs
- ReadOnlyNameValueCollection.cs
- InlineUIContainer.cs
- HttpCookieCollection.cs
- DataChangedEventManager.cs
- FlowPosition.cs
- VerificationAttribute.cs
- EventHandlersStore.cs
- ServiceOperationListItem.cs
- AutomationIdentifier.cs
- ProfileSettingsCollection.cs
- AutoResetEvent.cs
- SynchronizedInputHelper.cs
- SessionKeyExpiredException.cs
- CriticalHandle.cs
- RegexTypeEditor.cs
- PointLight.cs
- RelationshipConstraintValidator.cs
- StylusPoint.cs
- ResizeGrip.cs
- MouseButton.cs
- SqlUdtInfo.cs
- RowCache.cs
- TemplateControlCodeDomTreeGenerator.cs
- EncoderParameter.cs
- ToolStripHighContrastRenderer.cs
- PagedDataSource.cs
- StructuredTypeEmitter.cs
- Model3DGroup.cs
- XmlEntityReference.cs
- SqlProvider.cs
- ContentPosition.cs
- XmlComment.cs
- AutomationFocusChangedEventArgs.cs
- MessageBox.cs
- AssemblyInfo.cs
- NonSerializedAttribute.cs
- DependencyObject.cs
- UriExt.cs
- Pair.cs
- OptionUsage.cs
- CLSCompliantAttribute.cs
- WorkflowInstanceAbortedRecord.cs
- DataReceivedEventArgs.cs
- AdRotator.cs
- ZipIOExtraFieldElement.cs
- ReferencedCollectionType.cs
- TaskExceptionHolder.cs
- SoapAttributeAttribute.cs
- ChoiceConverter.cs
- TextElement.cs
- LinearKeyFrames.cs
- XmlWriterTraceListener.cs
- EntityDataSourceDataSelection.cs
- UrlPropertyAttribute.cs
- SafePointer.cs
- DiscoveryDocumentSerializer.cs
- SubpageParagraph.cs
- DragDeltaEventArgs.cs
- PageCache.cs
- SchemaElementDecl.cs
- XmlToDatasetMap.cs
- DbInsertCommandTree.cs
- InputLanguageManager.cs
- SizeKeyFrameCollection.cs
- Point4DConverter.cs
- DataControlFieldCell.cs
- TagMapInfo.cs
- DefaultParameterValueAttribute.cs
- SlipBehavior.cs
- TextLineBreak.cs
- AuthStoreRoleProvider.cs
- DetailsViewPagerRow.cs
- PeerNodeAddress.cs
- PersonalizationEntry.cs
- EventHandlerService.cs
- WriteableOnDemandPackagePart.cs
- DefaultValueAttribute.cs
- WindowsBrush.cs
- Drawing.cs
- SystemTcpStatistics.cs
- EntityCommand.cs
- FixedSOMTableCell.cs
- GridPattern.cs
- BaseCAMarshaler.cs
- CompatibleComparer.cs
- PeerNameResolver.cs
- WorkerRequest.cs
- IDReferencePropertyAttribute.cs
- SiteMap.cs
- SuppressMessageAttribute.cs