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
- DbBuffer.cs
- Int64AnimationUsingKeyFrames.cs
- ListViewGroupCollectionEditor.cs
- XmlSchemaComplexType.cs
- XmlSchemaSimpleType.cs
- InteropBitmapSource.cs
- Material.cs
- SspiHelper.cs
- BlurBitmapEffect.cs
- RubberbandSelector.cs
- NullableDoubleMinMaxAggregationOperator.cs
- PersonalizationProviderHelper.cs
- CheckBox.cs
- MapPathBasedVirtualPathProvider.cs
- ArrangedElementCollection.cs
- LicenseProviderAttribute.cs
- UTF7Encoding.cs
- ToolStripMenuItem.cs
- DataGridViewRowHeaderCell.cs
- OptimizerPatterns.cs
- SignatureDescription.cs
- SymbolPair.cs
- XmlToDatasetMap.cs
- FilterFactory.cs
- StreamingContext.cs
- _UriSyntax.cs
- TextPointer.cs
- CancellationHandlerDesigner.cs
- DataFormats.cs
- HMACMD5.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- COM2IPerPropertyBrowsingHandler.cs
- HttpDebugHandler.cs
- TextReader.cs
- CodeTypeReferenceCollection.cs
- ReferenceAssemblyAttribute.cs
- XmlElementCollection.cs
- UriTemplateDispatchFormatter.cs
- Opcode.cs
- HyperLinkField.cs
- SystemInformation.cs
- OdbcConnectionStringbuilder.cs
- ComplexObject.cs
- ContentHostHelper.cs
- SettingsPropertyIsReadOnlyException.cs
- TargetInvocationException.cs
- CellTreeNodeVisitors.cs
- DBDataPermission.cs
- XmlSchemaAnnotated.cs
- Stack.cs
- ScriptingAuthenticationServiceSection.cs
- WebServiceHandler.cs
- OutputCacheSettings.cs
- RegionData.cs
- SecurityPermission.cs
- ToolStripSeparatorRenderEventArgs.cs
- ExpressionVisitor.cs
- ContentElement.cs
- UICuesEvent.cs
- BackgroundFormatInfo.cs
- WebRequestModulesSection.cs
- PropertyGridCommands.cs
- MetadataFile.cs
- EventLogEntry.cs
- Bits.cs
- SystemMulticastIPAddressInformation.cs
- ManipulationStartedEventArgs.cs
- DynamicRendererThreadManager.cs
- SectionXmlInfo.cs
- ReadOnlyPropertyMetadata.cs
- ExpressionBuilder.cs
- BinaryWriter.cs
- ChangeInterceptorAttribute.cs
- SynchronizedInputProviderWrapper.cs
- WebException.cs
- OdbcDataAdapter.cs
- GridViewSelectEventArgs.cs
- OleDbRowUpdatingEvent.cs
- ToolStripDropDownMenu.cs
- BeginEvent.cs
- WmlControlAdapter.cs
- TextFormatterImp.cs
- FigureParagraph.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- BamlRecords.cs
- RightsManagementInformation.cs
- XmlQualifiedName.cs
- PopupRoot.cs
- TagElement.cs
- RemotingException.cs
- ItemsPresenter.cs
- CopyOnWriteList.cs
- LicenseContext.cs
- LateBoundBitmapDecoder.cs
- CustomSignedXml.cs
- AnchorEditor.cs
- NonBatchDirectoryCompiler.cs
- ManagementException.cs
- TableRow.cs
- GenerateHelper.cs