Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TableColumn.cs
- FacetDescriptionElement.cs
- SplitContainer.cs
- ProfileGroupSettings.cs
- ProfilePropertyNameValidator.cs
- PlaceHolder.cs
- SchemaSetCompiler.cs
- DetailsViewRowCollection.cs
- FragmentQueryProcessor.cs
- RepeatBehavior.cs
- MLangCodePageEncoding.cs
- ValidationResult.cs
- CounterCreationData.cs
- Events.cs
- BevelBitmapEffect.cs
- NopReturnReader.cs
- DocumentReferenceCollection.cs
- NativeActivity.cs
- CustomErrorsSection.cs
- ObjectListFieldsPage.cs
- Soap12ProtocolImporter.cs
- RichTextBox.cs
- ReadContentAsBinaryHelper.cs
- WrappedIUnknown.cs
- FixedTextBuilder.cs
- FragmentQuery.cs
- OraclePermission.cs
- TemplateBuilder.cs
- ContainerParaClient.cs
- FontFaceLayoutInfo.cs
- Stylus.cs
- NamespaceEmitter.cs
- DataStorage.cs
- DataGridViewCellValueEventArgs.cs
- IndicCharClassifier.cs
- TabletDevice.cs
- SelectionRange.cs
- Vector3DCollection.cs
- WindowsFormsHost.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- DatatypeImplementation.cs
- TableCellCollection.cs
- OptimizerPatterns.cs
- VectorAnimationUsingKeyFrames.cs
- ReachVisualSerializerAsync.cs
- ConfigurationLoaderException.cs
- Renderer.cs
- StructureChangedEventArgs.cs
- DBCommand.cs
- CodeValidator.cs
- DataSourceExpressionCollection.cs
- BulletChrome.cs
- RelatedPropertyManager.cs
- AnnotationHighlightLayer.cs
- prompt.cs
- ToolStripRendererSwitcher.cs
- XmlStreamStore.cs
- XmlAttributeHolder.cs
- DirtyTextRange.cs
- XmlSortKey.cs
- HostingEnvironment.cs
- TextServicesLoader.cs
- CustomAttribute.cs
- StringFunctions.cs
- ListView.cs
- ProcessModule.cs
- WebConvert.cs
- TableRow.cs
- ReadOnlyNameValueCollection.cs
- DateTimeParse.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- WindowsListViewSubItem.cs
- Mapping.cs
- WindowsStatic.cs
- PeerCollaboration.cs
- FixedSOMPage.cs
- TypeCodeDomSerializer.cs
- COM2Enum.cs
- HttpWebResponse.cs
- VersionUtil.cs
- DecimalAnimationBase.cs
- DataFieldConverter.cs
- GridViewCancelEditEventArgs.cs
- ConnectorRouter.cs
- VisemeEventArgs.cs
- TagPrefixCollection.cs
- WindowCollection.cs
- AdRotatorDesigner.cs
- FlowchartDesignerCommands.cs
- ThreadAbortException.cs
- WinOEToolBoxItem.cs
- Attribute.cs
- login.cs
- Rectangle.cs
- TableLayoutStyleCollection.cs
- FileDialogCustomPlacesCollection.cs
- Nodes.cs
- FormViewModeEventArgs.cs
- DCSafeHandle.cs
- EventListener.cs