Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / DocumentOrderQuery.cs / 1 / DocumentOrderQuery.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 DocumentOrderQuery : CacheOutputQuery {
public DocumentOrderQuery(Query qyParent) : base(qyParent) {}
private DocumentOrderQuery(DocumentOrderQuery other) : base(other) { }
public override object Evaluate(XPathNodeIterator context) {
base.Evaluate(context);
XPathNavigator node;
while ((node = base.input.Advance()) != null) {
Insert(outputBuffer, node);
}
return this;
}
public override XPathNavigator MatchNode(XPathNavigator context) {
return input.MatchNode(context);
}
public override XPathNodeIterator Clone() { return new DocumentOrderQuery(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
- _IPv4Address.cs
- Assert.cs
- DbProviderFactoriesConfigurationHandler.cs
- XamlPathDataSerializer.cs
- DependencyObject.cs
- UrlAuthorizationModule.cs
- UrlMappingsSection.cs
- XmlArrayItemAttributes.cs
- ActiveDocumentEvent.cs
- PropertyTabChangedEvent.cs
- SyndicationDeserializer.cs
- Peer.cs
- DataGridViewCellStyleConverter.cs
- Token.cs
- CharKeyFrameCollection.cs
- PersonalizationStateInfoCollection.cs
- RtfNavigator.cs
- ResXResourceReader.cs
- ReferencedAssembly.cs
- VisualStyleTypesAndProperties.cs
- X509Certificate2.cs
- ConfigXmlDocument.cs
- _TransmitFileOverlappedAsyncResult.cs
- PropertyItemInternal.cs
- WebPart.cs
- SafeArrayTypeMismatchException.cs
- Switch.cs
- _SslSessionsCache.cs
- XmlElement.cs
- SchemaHelper.cs
- LazyTextWriterCreator.cs
- SQLInt16Storage.cs
- HijriCalendar.cs
- CssTextWriter.cs
- Mappings.cs
- InteropBitmapSource.cs
- ReflectEventDescriptor.cs
- RegistryExceptionHelper.cs
- SingleStorage.cs
- StylusPointPropertyId.cs
- HtmlWindow.cs
- StatusBarItem.cs
- StrokeCollection.cs
- XmlComment.cs
- IntranetCredentialPolicy.cs
- WebResourceUtil.cs
- OracleInfoMessageEventArgs.cs
- WinInetCache.cs
- ErrorFormatterPage.cs
- CodeTypeDelegate.cs
- DomainUpDown.cs
- GeometryHitTestResult.cs
- MobileResource.cs
- LogExtent.cs
- InputQueue.cs
- ColumnCollection.cs
- CellRelation.cs
- SafeNativeMemoryHandle.cs
- BaseProcessor.cs
- designeractionlistschangedeventargs.cs
- CaseInsensitiveComparer.cs
- PassportAuthentication.cs
- _NegoState.cs
- TemplateField.cs
- ResolveInfo.cs
- SolidColorBrush.cs
- ScrollEvent.cs
- ButtonColumn.cs
- WebConfigurationFileMap.cs
- Application.cs
- MessageBox.cs
- EntityException.cs
- XmlSchemaSet.cs
- TextSpanModifier.cs
- ThicknessAnimationBase.cs
- FrameworkContentElement.cs
- dbenumerator.cs
- ColumnMapVisitor.cs
- CalendarDataBindingHandler.cs
- DoubleKeyFrameCollection.cs
- ImportContext.cs
- _LoggingObject.cs
- MdImport.cs
- CalculatedColumn.cs
- ActivityMarkupSerializationProvider.cs
- QueryStringParameter.cs
- StringSorter.cs
- FontDriver.cs
- Misc.cs
- IisTraceListener.cs
- DBCommand.cs
- TextElementEnumerator.cs
- ParentControlDesigner.cs
- ItemAutomationPeer.cs
- SimpleType.cs
- TagNameToTypeMapper.cs
- ObjectToken.cs
- ParallelTimeline.cs
- InstallerTypeAttribute.cs
- DesignTimeSiteMapProvider.cs