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
- _emptywebproxy.cs
- PagedControl.cs
- Assert.cs
- Compiler.cs
- TableCellCollection.cs
- DropShadowBitmapEffect.cs
- UnionCodeGroup.cs
- SpecialNameAttribute.cs
- TracingConnection.cs
- ExternalException.cs
- EventManager.cs
- TypeNameConverter.cs
- DelegateArgumentValue.cs
- DeleteHelper.cs
- OrderedDictionaryStateHelper.cs
- Domain.cs
- XmlSchemaDatatype.cs
- ConfigurationStrings.cs
- IntranetCredentialPolicy.cs
- TerminatorSinks.cs
- SafeBitVector32.cs
- LinqDataSourceDeleteEventArgs.cs
- RewritingSimplifier.cs
- ListBindableAttribute.cs
- MarkerProperties.cs
- XmlSiteMapProvider.cs
- VectorCollectionConverter.cs
- AssemblyHash.cs
- VerticalConnector.xaml.cs
- Crc32.cs
- ConfigXmlComment.cs
- oledbconnectionstring.cs
- AutomationPattern.cs
- ObjectConverter.cs
- dbdatarecord.cs
- File.cs
- ElementMarkupObject.cs
- CaseExpr.cs
- TriggerBase.cs
- PropertyMap.cs
- XmlAnyElementAttribute.cs
- ControlCommandSet.cs
- DataGridItemEventArgs.cs
- CompositeFontInfo.cs
- TextModifier.cs
- RequestResizeEvent.cs
- CSharpCodeProvider.cs
- BitmapScalingModeValidation.cs
- Section.cs
- WebPartConnectVerb.cs
- UIHelper.cs
- InputLangChangeEvent.cs
- CompositeTypefaceMetrics.cs
- UIPermission.cs
- KoreanCalendar.cs
- Thickness.cs
- ComPlusServiceLoader.cs
- NeedSkipTokenVisitor.cs
- XmlSchemaObjectCollection.cs
- SiteMapNodeItemEventArgs.cs
- WebPartConnectionsConnectVerb.cs
- FlowDocumentPageViewerAutomationPeer.cs
- FaultReasonText.cs
- DataGridClipboardCellContent.cs
- PhysicalOps.cs
- ValueType.cs
- HttpException.cs
- cookieexception.cs
- XmlSchemaRedefine.cs
- MethodAccessException.cs
- MarkedHighlightComponent.cs
- DBDataPermissionAttribute.cs
- FontStyleConverter.cs
- TransformGroup.cs
- BitmapSourceSafeMILHandle.cs
- DbReferenceCollection.cs
- AddInControllerImpl.cs
- SystemKeyConverter.cs
- XPathQueryGenerator.cs
- RequestCachePolicy.cs
- SafeFileHandle.cs
- RichTextBox.cs
- DataBoundLiteralControl.cs
- coordinator.cs
- StrongNameKeyPair.cs
- DebugHandleTracker.cs
- MimeParameters.cs
- SimpleMailWebEventProvider.cs
- RuleAction.cs
- FunctionDescription.cs
- UserNamePasswordValidator.cs
- SQLByte.cs
- AuthStoreRoleProvider.cs
- KoreanLunisolarCalendar.cs
- DebuggerAttributes.cs
- WebContext.cs
- MD5CryptoServiceProvider.cs
- ECDiffieHellmanCngPublicKey.cs
- ContractHandle.cs
- LabelDesigner.cs