Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //[....] //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Stopwatch.cs
- ExpandedWrapper.cs
- XslCompiledTransform.cs
- PngBitmapEncoder.cs
- ByteConverter.cs
- UpdatePanel.cs
- PKCS1MaskGenerationMethod.cs
- HttpCookie.cs
- HttpErrorTraceRecord.cs
- ScrollBar.cs
- Timeline.cs
- RecognizerBase.cs
- RuntimeCompatibilityAttribute.cs
- CodePropertyReferenceExpression.cs
- PageThemeBuildProvider.cs
- PatternMatcher.cs
- InternalConfigConfigurationFactory.cs
- TextContainerChangeEventArgs.cs
- TypeConverterMarkupExtension.cs
- ControlBindingsCollection.cs
- WrappedReader.cs
- XmlExpressionDumper.cs
- SqlMethodTransformer.cs
- NavigationPropertyEmitter.cs
- TextPattern.cs
- SocketException.cs
- CompilerScopeManager.cs
- LazyLoadBehavior.cs
- WindowCollection.cs
- EntityDataSourceValidationException.cs
- EdgeProfileValidation.cs
- StopStoryboard.cs
- InternalBufferManager.cs
- BaseInfoTable.cs
- TypeDescriptor.cs
- ColumnBinding.cs
- _CommandStream.cs
- LocalFileSettingsProvider.cs
- NameValuePair.cs
- TypefaceMetricsCache.cs
- Point3DIndependentAnimationStorage.cs
- TextBox.cs
- VBCodeProvider.cs
- TraceProvider.cs
- BamlTreeMap.cs
- CodeRemoveEventStatement.cs
- ExecutedRoutedEventArgs.cs
- ButtonFlatAdapter.cs
- WebPartConnectionsCancelVerb.cs
- DecimalFormatter.cs
- NativeWindow.cs
- InvokePattern.cs
- SqlDependency.cs
- DbProviderManifest.cs
- EdmMember.cs
- AsnEncodedData.cs
- exports.cs
- PartManifestEntry.cs
- ComplexType.cs
- EllipseGeometry.cs
- AccessibilityHelperForVista.cs
- Win32KeyboardDevice.cs
- Matrix.cs
- XPathDescendantIterator.cs
- DynamicPhysicalDiscoSearcher.cs
- Frame.cs
- MailBnfHelper.cs
- SelectionChangedEventArgs.cs
- CloudCollection.cs
- InkCanvasSelectionAdorner.cs
- GeneratedView.cs
- PathFigure.cs
- OdbcDataAdapter.cs
- BinaryObjectReader.cs
- DelegatingConfigHost.cs
- PropertyTabChangedEvent.cs
- WindowsFormsSectionHandler.cs
- StateChangeEvent.cs
- HandledMouseEvent.cs
- FlatButtonAppearance.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- WebPartEditorApplyVerb.cs
- ChineseLunisolarCalendar.cs
- Pens.cs
- SuppressIldasmAttribute.cs
- SharedPersonalizationStateInfo.cs
- ResolvedKeyFrameEntry.cs
- DesignerOptionService.cs
- safelink.cs
- WorkflowMarkupElementEventArgs.cs
- XmlTypeMapping.cs
- ViewStateException.cs
- ConfigUtil.cs
- SequenceDesignerAccessibleObject.cs
- PropertyDescriptorComparer.cs
- ProviderCommandInfoUtils.cs
- RTLAwareMessageBox.cs
- GC.cs
- NeutralResourcesLanguageAttribute.cs
- UserControlAutomationPeer.cs