Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / DocumentOrderQuery.cs / 1305376 / 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
- ListViewAutomationPeer.cs
- TraceData.cs
- MemberPath.cs
- SecurityKeyUsage.cs
- ListCardsInFileRequest.cs
- ContentFilePart.cs
- ImageKeyConverter.cs
- ReferenceConverter.cs
- DeploymentExceptionMapper.cs
- httpserverutility.cs
- DockProviderWrapper.cs
- lengthconverter.cs
- PasswordPropertyTextAttribute.cs
- PrinterUnitConvert.cs
- DefaultBinder.cs
- InvalidContentTypeException.cs
- TraceSection.cs
- XmlQueryContext.cs
- StandardToolWindows.cs
- XmlSchemaAny.cs
- SerialReceived.cs
- TaskFileService.cs
- ImageFormatConverter.cs
- DataBoundLiteralControl.cs
- OleDbInfoMessageEvent.cs
- ResXBuildProvider.cs
- VirtualizingStackPanel.cs
- XmlSchemaExternal.cs
- EditorPart.cs
- GeneralTransform3DTo2DTo3D.cs
- ConfigViewGenerator.cs
- SizeChangedInfo.cs
- ListBase.cs
- OdbcConnectionHandle.cs
- WindowsTokenRoleProvider.cs
- ColumnMap.cs
- SchemaImporterExtensionElementCollection.cs
- Converter.cs
- BufferedReadStream.cs
- TimeZone.cs
- LinkLabel.cs
- JsonDeserializer.cs
- PropertyCollection.cs
- XmlHierarchyData.cs
- ScrollViewer.cs
- CrossAppDomainChannel.cs
- serverconfig.cs
- EmbeddedMailObject.cs
- MatrixTransform.cs
- GenericEnumerator.cs
- TraceUtility.cs
- TableChangeProcessor.cs
- FixedStringLookup.cs
- WindowsListViewGroupSubsetLink.cs
- SamlDelegatingWriter.cs
- FileResponseElement.cs
- PrivilegedConfigurationManager.cs
- DataGridViewTextBoxCell.cs
- Processor.cs
- MessagePropertyDescription.cs
- DataBinder.cs
- BaseValidator.cs
- ExtractorMetadata.cs
- OTFRasterizer.cs
- HttpPostedFileBase.cs
- XsltOutput.cs
- QueryResponse.cs
- RequiredFieldValidator.cs
- TransformCollection.cs
- BitmapFrameEncode.cs
- IResourceProvider.cs
- VectorCollectionValueSerializer.cs
- TreeNodeBinding.cs
- MaskedTextBox.cs
- XmlNodeChangedEventArgs.cs
- DataKey.cs
- ListInitExpression.cs
- WpfSharedBamlSchemaContext.cs
- DataServices.cs
- DefaultEventAttribute.cs
- DataGridViewCellParsingEventArgs.cs
- ExpressionBuilder.cs
- WebHeaderCollection.cs
- LinkButton.cs
- TextUtf8RawTextWriter.cs
- JsonFormatReaderGenerator.cs
- Deflater.cs
- DynamicDocumentPaginator.cs
- TypedElement.cs
- SpotLight.cs
- SQLResource.cs
- EntityDataSourceViewSchema.cs
- KeySplineConverter.cs
- coordinator.cs
- UInt64Storage.cs
- SectionInput.cs
- SQLBoolean.cs
- SplitterCancelEvent.cs
- _ConnectOverlappedAsyncResult.cs
- AssemblyBuilderData.cs