Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ByteStreamMessageUtility.cs
- JulianCalendar.cs
- MarkupCompiler.cs
- PersonalizationState.cs
- Imaging.cs
- CellParagraph.cs
- StateRuntime.cs
- EntityDataSourceChangingEventArgs.cs
- DocobjHost.cs
- ColumnResult.cs
- IResourceProvider.cs
- _SslState.cs
- SystemWebSectionGroup.cs
- HtmlEmptyTagControlBuilder.cs
- SqlColumnizer.cs
- SafeNativeMethods.cs
- FlowDocumentPageViewerAutomationPeer.cs
- HandlerWithFactory.cs
- Int32Converter.cs
- cookiecollection.cs
- RichTextBox.cs
- TextRangeAdaptor.cs
- NetNamedPipeSecurity.cs
- ClearTypeHintValidation.cs
- ToolBarButton.cs
- XmlNodeComparer.cs
- MsmqOutputChannel.cs
- ADConnectionHelper.cs
- PageTheme.cs
- MenuItemStyle.cs
- FontUnitConverter.cs
- CodeCommentStatementCollection.cs
- AnnotationService.cs
- URL.cs
- ValuePattern.cs
- SafeBitVector32.cs
- VideoDrawing.cs
- Membership.cs
- FileUpload.cs
- DesignerAdapterAttribute.cs
- WorkflowApplicationCompletedException.cs
- AuthenticationManager.cs
- MarkupWriter.cs
- autovalidator.cs
- FixedLineResult.cs
- SrgsDocument.cs
- ListBoxDesigner.cs
- StringUtil.cs
- LambdaCompiler.Generated.cs
- XPathAxisIterator.cs
- _BasicClient.cs
- XpsFilter.cs
- Quad.cs
- DocumentProperties.cs
- Grammar.cs
- Point3DConverter.cs
- SimpleHandlerFactory.cs
- BuildProvider.cs
- UndoEngine.cs
- ImageListImage.cs
- StylusPlugInCollection.cs
- NavigationHelper.cs
- RemoteArgument.cs
- LongPath.cs
- StyleSelector.cs
- RecordsAffectedEventArgs.cs
- TextLineBreak.cs
- HtmlControl.cs
- Soap.cs
- InternalConfigSettingsFactory.cs
- FactoryGenerator.cs
- Menu.cs
- SqlMethods.cs
- EventRoute.cs
- EntityProviderFactory.cs
- XmlEventCache.cs
- CharacterBufferReference.cs
- HwndSourceParameters.cs
- Canvas.cs
- Transform.cs
- PermissionSetTriple.cs
- SymLanguageType.cs
- GB18030Encoding.cs
- TypeConverterMarkupExtension.cs
- XamlWriter.cs
- PartitionResolver.cs
- SymLanguageVendor.cs
- CopyNamespacesAction.cs
- HtmlControl.cs
- UserControlBuildProvider.cs
- FormatterServices.cs
- Blend.cs
- InternalConfigEventArgs.cs
- MsiStyleLogWriter.cs
- ConfigXmlText.cs
- ObjectStorage.cs
- AttachInfo.cs
- EFAssociationProvider.cs
- Environment.cs
- OptimizerPatterns.cs