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
- PageCache.cs
- ADMembershipUser.cs
- OutputCacheModule.cs
- DataObjectCopyingEventArgs.cs
- X509Certificate.cs
- ICspAsymmetricAlgorithm.cs
- codemethodreferenceexpression.cs
- SemaphoreFullException.cs
- AssemblyInfo.cs
- SafeEventLogWriteHandle.cs
- SafeEventHandle.cs
- WebPartConnection.cs
- ConfigDefinitionUpdates.cs
- Misc.cs
- HostedTcpTransportManager.cs
- TreeNodeConverter.cs
- PresentationTraceSources.cs
- TableItemProviderWrapper.cs
- AvTraceFormat.cs
- MessageAction.cs
- PenContexts.cs
- ButtonBase.cs
- CurrencyManager.cs
- PropertyGeneratedEventArgs.cs
- DesignerHierarchicalDataSourceView.cs
- DesignTimeTemplateParser.cs
- XPathArrayIterator.cs
- Base64Stream.cs
- PackagePartCollection.cs
- BasePropertyDescriptor.cs
- UshortList2.cs
- BufferedGraphicsManager.cs
- InternalCache.cs
- ExpressionPrefixAttribute.cs
- Point.cs
- ApplicationContext.cs
- BStrWrapper.cs
- SecurityTokenAuthenticator.cs
- SpellerInterop.cs
- CacheChildrenQuery.cs
- EntityContainerEmitter.cs
- InstanceCompleteException.cs
- FixUp.cs
- NativeWindow.cs
- ValidationResults.cs
- DbUpdateCommandTree.cs
- ProxyGenerator.cs
- SqlDependencyUtils.cs
- CollectionTraceRecord.cs
- SoapIncludeAttribute.cs
- CanExecuteRoutedEventArgs.cs
- DataGridViewTextBoxCell.cs
- ThicknessAnimationUsingKeyFrames.cs
- SqlMethodCallConverter.cs
- AmbientLight.cs
- FormViewUpdatedEventArgs.cs
- NamedObject.cs
- FreeFormDragDropManager.cs
- HebrewNumber.cs
- XPathNodePointer.cs
- Method.cs
- ApplyTemplatesAction.cs
- errorpatternmatcher.cs
- ExternalCalls.cs
- SafePEFileHandle.cs
- FormattedText.cs
- RowBinding.cs
- Form.cs
- Compiler.cs
- ListViewItem.cs
- WaitingCursor.cs
- DoubleLink.cs
- TwoPhaseCommit.cs
- Internal.cs
- ProvidePropertyAttribute.cs
- XmlNotation.cs
- CodeArrayIndexerExpression.cs
- BitmapFrameEncode.cs
- CodeNamespaceImportCollection.cs
- Point3DCollectionConverter.cs
- ISCIIEncoding.cs
- DataGridViewDataConnection.cs
- CodeVariableReferenceExpression.cs
- _RequestCacheProtocol.cs
- SafeThreadHandle.cs
- RepeatInfo.cs
- CallbackTimeoutsBehavior.cs
- ClientSideProviderDescription.cs
- PartialArray.cs
- ContentElement.cs
- InvalidEnumArgumentException.cs
- IdentityManager.cs
- FontFamily.cs
- DoubleAverageAggregationOperator.cs
- UIInitializationException.cs
- RadioButtonAutomationPeer.cs
- GACIdentityPermission.cs
- VisualTreeUtils.cs
- GrammarBuilder.cs
- ModelToObjectValueConverter.cs