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
- DesignerOptionService.cs
- DelayLoadType.cs
- UshortList2.cs
- ValueSerializerAttribute.cs
- PeerMessageDispatcher.cs
- TrustLevel.cs
- CustomBindingCollectionElement.cs
- NativeBuffer.cs
- ObservableDictionary.cs
- TemplateControlBuildProvider.cs
- EdmProviderManifest.cs
- PrintingPermissionAttribute.cs
- QueueTransferProtocol.cs
- SignatureGenerator.cs
- ConnectionManagementElement.cs
- OdbcStatementHandle.cs
- login.cs
- ScriptResourceMapping.cs
- DefaultHttpHandler.cs
- WeakReferenceKey.cs
- PreservationFileWriter.cs
- ButtonField.cs
- WebHttpBinding.cs
- PtsContext.cs
- InternalConfigConfigurationFactory.cs
- ErrorStyle.cs
- XmlSerializer.cs
- EmptyCollection.cs
- SqlDataSourceStatusEventArgs.cs
- DataGridCellsPanel.cs
- Popup.cs
- Metafile.cs
- EdgeProfileValidation.cs
- RequestResizeEvent.cs
- Attachment.cs
- StrokeSerializer.cs
- ColumnCollection.cs
- SerializationHelper.cs
- HGlobalSafeHandle.cs
- LiteralText.cs
- ServiceDesigner.cs
- BeginEvent.cs
- SettingsAttributes.cs
- SrgsDocumentParser.cs
- DataGridViewElement.cs
- ColorBuilder.cs
- NestPullup.cs
- _LazyAsyncResult.cs
- GeometryGroup.cs
- ToolStripRenderer.cs
- TreeNodeBindingCollection.cs
- MenuCommands.cs
- BypassElementCollection.cs
- TabControlCancelEvent.cs
- DesignerVerbCollection.cs
- FormClosingEvent.cs
- FileDialogPermission.cs
- BeginEvent.cs
- TakeQueryOptionExpression.cs
- BamlMapTable.cs
- _SslState.cs
- BitmapSourceSafeMILHandle.cs
- SchemaNotation.cs
- Clock.cs
- XmlBoundElement.cs
- CategoryGridEntry.cs
- AssemblyCache.cs
- _PooledStream.cs
- ProbeDuplex11AsyncResult.cs
- UnhandledExceptionEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- XmlAnyElementAttributes.cs
- Compiler.cs
- TimeSpanOrInfiniteValidator.cs
- Trustee.cs
- DataGridColumnEventArgs.cs
- LineVisual.cs
- MemberRelationshipService.cs
- AssemblyCollection.cs
- GregorianCalendar.cs
- CodeAttributeDeclarationCollection.cs
- XPathMessageFilterElementCollection.cs
- FormClosingEvent.cs
- Classification.cs
- MultiBinding.cs
- CategoryGridEntry.cs
- TableAdapterManagerHelper.cs
- SmiXetterAccessMap.cs
- Currency.cs
- ClassHandlersStore.cs
- DbConnectionPool.cs
- MergePropertyDescriptor.cs
- OdbcConnectionString.cs
- BrowserCapabilitiesFactory35.cs
- WindowsListBox.cs
- PropertySegmentSerializationProvider.cs
- GetCryptoTransformRequest.cs
- ElapsedEventArgs.cs
- IChannel.cs
- TreeNode.cs