Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / XPath / Internal / AbsoluteQuery.cs / 1 / AbsoluteQuery.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; internal sealed class AbsoluteQuery : ContextQuery { public AbsoluteQuery() : base() {} private AbsoluteQuery(AbsoluteQuery other) : base(other) {} public override object Evaluate(XPathNodeIterator context) { base.contextNode = context.Current.Clone(); base.contextNode.MoveToRoot(); count = 0; return this; } public override XPathNavigator MatchNode(XPathNavigator context) { if (context != null && context.NodeType == XPathNodeType.Root) { return context; } return null; } public override XPathNodeIterator Clone() { return new AbsoluteQuery(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
- TriggerCollection.cs
- ExceptionUtil.cs
- ControlPropertyNameConverter.cs
- Int16Storage.cs
- SafeFileMappingHandle.cs
- HttpCapabilitiesEvaluator.cs
- ScrollChangedEventArgs.cs
- IdentifierService.cs
- DataSourceUtil.cs
- GenerateTemporaryTargetAssembly.cs
- AliasGenerator.cs
- ComNativeDescriptor.cs
- HashHelpers.cs
- MergablePropertyAttribute.cs
- WindowsEditBoxRange.cs
- XmlArrayItemAttribute.cs
- EventHandlerList.cs
- WpfXamlType.cs
- InterleavedZipPartStream.cs
- KeyFrames.cs
- FlowchartStart.xaml.cs
- IsolatedStorageFileStream.cs
- ClassHandlersStore.cs
- Padding.cs
- DesignerAttribute.cs
- control.ime.cs
- sqlnorm.cs
- StyleSelector.cs
- SignatureHelper.cs
- MD5CryptoServiceProvider.cs
- ErrorFormatterPage.cs
- PointConverter.cs
- ComponentRenameEvent.cs
- PropertyMapper.cs
- ComponentChangedEvent.cs
- LocalBuilder.cs
- RtfControls.cs
- PrimitiveCodeDomSerializer.cs
- SafeSecurityHandles.cs
- StylusLogic.cs
- BitConverter.cs
- StringInfo.cs
- MetadataUtilsSmi.cs
- TabletCollection.cs
- StrokeCollectionConverter.cs
- Clock.cs
- FullTextLine.cs
- BindableAttribute.cs
- UriTemplateMatch.cs
- FilteredAttributeCollection.cs
- _TLSstream.cs
- ComboBoxRenderer.cs
- WSIdentityFaultException.cs
- BamlBinaryReader.cs
- WindowsListView.cs
- DefaultProxySection.cs
- DesignSurfaceEvent.cs
- ExpressionBuilder.cs
- DisplayClaim.cs
- RawStylusSystemGestureInputReport.cs
- ByteAnimation.cs
- AuthenticationService.cs
- SynchronizedDisposablePool.cs
- EventNotify.cs
- Update.cs
- EditorPartCollection.cs
- MouseEvent.cs
- ViewStateException.cs
- DataGridColumnEventArgs.cs
- Grammar.cs
- DataServiceException.cs
- Knowncolors.cs
- HuffModule.cs
- _CacheStreams.cs
- MemberAccessException.cs
- ApplicationBuildProvider.cs
- SessionStateUtil.cs
- TypedTableBaseExtensions.cs
- SchemaMapping.cs
- TextRenderer.cs
- DefaultParameterValueAttribute.cs
- EmptyElement.cs
- TreeViewItemAutomationPeer.cs
- UTF32Encoding.cs
- XmlTextReaderImpl.cs
- StandardBindingElementCollection.cs
- RTLAwareMessageBox.cs
- SafeCryptoHandles.cs
- ProcessModelSection.cs
- IPHostEntry.cs
- ReferenceEqualityComparer.cs
- IUnknownConstantAttribute.cs
- SQLInt32Storage.cs
- graph.cs
- CodeBlockBuilder.cs
- DataGridHeaderBorder.cs
- RectangleGeometry.cs
- WSHttpSecurityElement.cs
- WebColorConverter.cs
- ScrollBarRenderer.cs