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
- InvalidWMPVersionException.cs
- HotSpot.cs
- RadioButton.cs
- BitmapEffectState.cs
- DesignBindingEditor.cs
- XmlSchemaNotation.cs
- CustomWebEventKey.cs
- CapiSafeHandles.cs
- InvalidEnumArgumentException.cs
- TaiwanCalendar.cs
- LiteralTextContainerControlBuilder.cs
- NoneExcludedImageIndexConverter.cs
- EntityContainer.cs
- BaseCodeDomTreeGenerator.cs
- CustomErrorsSection.cs
- DataGridViewRowPrePaintEventArgs.cs
- VersionedStreamOwner.cs
- XmlSequenceWriter.cs
- EventDescriptor.cs
- RowTypeElement.cs
- XmlCDATASection.cs
- SqlDependencyUtils.cs
- DefaultShape.cs
- StopRoutingHandler.cs
- HtmlInputRadioButton.cs
- SQLRoleProvider.cs
- ControlCachePolicy.cs
- sqlpipe.cs
- SQLStringStorage.cs
- SchemaImporter.cs
- TableRowGroup.cs
- UIElementCollection.cs
- SemaphoreSecurity.cs
- Fonts.cs
- CacheForPrimitiveTypes.cs
- InternalRelationshipCollection.cs
- SqlConnection.cs
- Attributes.cs
- CodeNamespaceImportCollection.cs
- CookielessHelper.cs
- ProfileManager.cs
- CustomPopupPlacement.cs
- Math.cs
- PathGradientBrush.cs
- AssemblyAttributesGoHere.cs
- CompensationHandlingFilter.cs
- CommandField.cs
- IPHostEntry.cs
- CategoryEditor.cs
- SerializationFieldInfo.cs
- MultiBinding.cs
- AppDomain.cs
- SmiRecordBuffer.cs
- EllipseGeometry.cs
- WizardForm.cs
- CodeObject.cs
- ReturnEventArgs.cs
- NativeMethods.cs
- DataBindingExpressionBuilder.cs
- HScrollBar.cs
- ValidationRuleCollection.cs
- DocumentXPathNavigator.cs
- DragDeltaEventArgs.cs
- SamlAssertionKeyIdentifierClause.cs
- WbemException.cs
- AttributeCollection.cs
- ZoneButton.cs
- NamespaceEmitter.cs
- SqlRetyper.cs
- DataService.cs
- Metafile.cs
- XmlHierarchicalDataSourceView.cs
- PersonalizableAttribute.cs
- ListViewCommandEventArgs.cs
- BitmapInitialize.cs
- Cursors.cs
- IndexerNameAttribute.cs
- ReadWriteObjectLock.cs
- TextModifierScope.cs
- TypeGeneratedEventArgs.cs
- ComponentEvent.cs
- IgnorePropertiesAttribute.cs
- CompensationDesigner.cs
- FileFormatException.cs
- Number.cs
- CompiledXpathExpr.cs
- DecodeHelper.cs
- ToolboxItem.cs
- Converter.cs
- DictationGrammar.cs
- RegistryKey.cs
- DesignerSerializationVisibilityAttribute.cs
- GregorianCalendarHelper.cs
- CommonDialog.cs
- CustomTypeDescriptor.cs
- EntityDataSourceChangingEventArgs.cs
- GlyphRunDrawing.cs
- DependencyPropertyValueSerializer.cs
- AQNBuilder.cs
- EditorZoneBase.cs