Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / XPath / Internal / ParentQuery.cs / 1 / ParentQuery.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; using System.Globalization; using System.Collections.Generic; internal sealed class ParentQuery : CacheAxisQuery { public ParentQuery(Query qyInput, string Name, string Prefix, XPathNodeType Type) : base(qyInput, Name, Prefix, Type) {} private ParentQuery(ParentQuery other) : base(other) { } public override object Evaluate(XPathNodeIterator context) { base.Evaluate(context); // XPathNavigator input; while ((input = qyInput.Advance()) != null) { input = input.Clone(); if (input.MoveToParent()) { if (matches(input)) { Insert(outputBuffer, input); } } } return this; } public override XPathNodeIterator Clone() { return new ParentQuery(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextTreeObjectNode.cs
- EventListenerClientSide.cs
- XmlUtf8RawTextWriter.cs
- WeakRefEnumerator.cs
- HttpListenerRequest.cs
- DataPagerFieldItem.cs
- RemoteWebConfigurationHostServer.cs
- WindowsButton.cs
- MemberJoinTreeNode.cs
- QuaternionRotation3D.cs
- AmbientProperties.cs
- SpellerStatusTable.cs
- ZipIOBlockManager.cs
- SkinBuilder.cs
- RoutingChannelExtension.cs
- _SafeNetHandles.cs
- EpmSourcePathSegment.cs
- OleServicesContext.cs
- ClickablePoint.cs
- CqlBlock.cs
- ServerTooBusyException.cs
- Win32KeyboardDevice.cs
- SerializationObjectManager.cs
- RangeBase.cs
- DesignerGeometryHelper.cs
- X509ImageLogo.cs
- NativeMethodsCLR.cs
- XmlQueryTypeFactory.cs
- EventWaitHandle.cs
- StrongName.cs
- RefType.cs
- RequestCacheValidator.cs
- FormDesigner.cs
- SqlServer2KCompatibilityAnnotation.cs
- HttpResponse.cs
- ContentIterators.cs
- ServicePoint.cs
- ControlPropertyNameConverter.cs
- Figure.cs
- FrugalMap.cs
- PriorityChain.cs
- Msec.cs
- NavigationProgressEventArgs.cs
- SecurityContext.cs
- AttributeEmitter.cs
- QualifiedCellIdBoolean.cs
- Bezier.cs
- PropertyNames.cs
- LazyTextWriterCreator.cs
- UnsafeNativeMethods.cs
- EdmFunctionAttribute.cs
- GeneralTransform3DGroup.cs
- CodeBinaryOperatorExpression.cs
- XPathNavigatorKeyComparer.cs
- FormViewUpdatedEventArgs.cs
- ReceiveActivity.cs
- HttpPostedFile.cs
- AutomationAttributeInfo.cs
- ExpressionEditorAttribute.cs
- SyndicationSerializer.cs
- RemoteWebConfigurationHost.cs
- ProofTokenCryptoHandle.cs
- AnimationClock.cs
- RegexGroup.cs
- AppAction.cs
- StatusBarItemAutomationPeer.cs
- EdmError.cs
- GetFileNameResult.cs
- EntitySqlQueryBuilder.cs
- PointLightBase.cs
- UriTemplateClientFormatter.cs
- RefreshEventArgs.cs
- DataSourceControlBuilder.cs
- TextElementEditingBehaviorAttribute.cs
- SoapParser.cs
- ImageMap.cs
- RichTextBox.cs
- SqlHelper.cs
- JsonSerializer.cs
- FormViewUpdateEventArgs.cs
- TextContainerHelper.cs
- CFStream.cs
- Command.cs
- EntityTemplateFactory.cs
- BamlResourceSerializer.cs
- TreeSet.cs
- TextComposition.cs
- WebControlAdapter.cs
- WsdlWriter.cs
- WriterOutput.cs
- ItemsPanelTemplate.cs
- ReflectionUtil.cs
- TimeSpanStorage.cs
- QueryOptionExpression.cs
- HttpVersion.cs
- XNodeNavigator.cs
- QueryCacheManager.cs
- ECDiffieHellmanCng.cs
- ResolveMatches11.cs
- XmlExtensionFunction.cs