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
- CommandBinding.cs
- CalendarButtonAutomationPeer.cs
- DataGridViewRowEventArgs.cs
- InfoCardSymmetricCrypto.cs
- PointValueSerializer.cs
- StateChangeEvent.cs
- EncoderParameters.cs
- BindingCollection.cs
- HttpListenerException.cs
- Stopwatch.cs
- SafeProcessHandle.cs
- DoubleAnimationClockResource.cs
- DocumentViewer.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- DecimalFormatter.cs
- SafeNativeMethods.cs
- ChangePassword.cs
- SamlAssertionKeyIdentifierClause.cs
- DrawingContextWalker.cs
- SerialErrors.cs
- RightsManagementEncryptionTransform.cs
- ServicePointManager.cs
- Zone.cs
- DataServiceQuery.cs
- Fx.cs
- XmlSortKey.cs
- Thread.cs
- DataSourceHelper.cs
- IgnoreDeviceFilterElementCollection.cs
- ManagedFilter.cs
- ConstantSlot.cs
- GridViewDeletedEventArgs.cs
- SmiRecordBuffer.cs
- PropertySet.cs
- Freezable.cs
- RankException.cs
- LinkedResource.cs
- CompoundFileDeflateTransform.cs
- BookmarkEventArgs.cs
- DatePickerAutomationPeer.cs
- MethodExpr.cs
- ColumnWidthChangedEvent.cs
- BufferedReceiveElement.cs
- PageEventArgs.cs
- XsltArgumentList.cs
- ScrollViewerAutomationPeer.cs
- SubclassTypeValidator.cs
- TextContainerHelper.cs
- DesignerSerializerAttribute.cs
- SiteMapNode.cs
- CompatibleComparer.cs
- TextEditorContextMenu.cs
- SqlUserDefinedAggregateAttribute.cs
- AudioFormatConverter.cs
- DragDropHelper.cs
- XmlSiteMapProvider.cs
- Control.cs
- QueryResultOp.cs
- LiteralDesigner.cs
- GZipStream.cs
- FontDifferentiator.cs
- Dictionary.cs
- ReadOnlyState.cs
- TabPanel.cs
- TemplateControlParser.cs
- CodeDirectiveCollection.cs
- Graphics.cs
- StructuredProperty.cs
- MemberInfoSerializationHolder.cs
- CommandConverter.cs
- XmlTextWriter.cs
- XmlCharCheckingReader.cs
- OutputWindow.cs
- TrustLevel.cs
- UriSchemeKeyedCollection.cs
- Freezable.cs
- CharStorage.cs
- PtsHost.cs
- _NegotiateClient.cs
- PeerNameRegistration.cs
- QueryGenerator.cs
- SiteMapProvider.cs
- Bits.cs
- HttpPostedFile.cs
- NotifyIcon.cs
- VSWCFServiceContractGenerator.cs
- BindStream.cs
- ProcessHostMapPath.cs
- LightweightCodeGenerator.cs
- IPHostEntry.cs
- HebrewCalendar.cs
- SystemBrushes.cs
- PagesSection.cs
- DesignTimeVisibleAttribute.cs
- StylusDevice.cs
- QueryStringParameter.cs
- SoapMessage.cs
- ObjectListFieldCollection.cs
- LineMetrics.cs
- Expander.cs