Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / ForwardPositionQuery.cs / 1 / ForwardPositionQuery.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 class ForwardPositionQuery : CacheOutputQuery { public ForwardPositionQuery(Query input) : base(input) { Debug.Assert(input != null); } protected ForwardPositionQuery(ForwardPositionQuery other) : base(other) { } public override object Evaluate(XPathNodeIterator context) { base.Evaluate(context); XPathNavigator node; while ((node = base.input.Advance()) != null) { outputBuffer.Add(node.Clone()); } return this; } public override XPathNavigator MatchNode(XPathNavigator context) { return input.MatchNode(context); } public override XPathNodeIterator Clone() { return new ForwardPositionQuery(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FlowDocumentPage.cs
- StylusPointProperty.cs
- MemberRelationshipService.cs
- PageBuildProvider.cs
- TimeSpan.cs
- DesignerValidationSummaryAdapter.cs
- ReverseInheritProperty.cs
- Style.cs
- LicFileLicenseProvider.cs
- SqlNodeAnnotation.cs
- SqlDependency.cs
- SingleSelectRootGridEntry.cs
- OutputCacheProfile.cs
- ConnectionStringEditor.cs
- XmlWrappingWriter.cs
- DBParameter.cs
- LoginNameDesigner.cs
- BoundField.cs
- securitycriticaldataformultiplegetandset.cs
- HttpPostedFile.cs
- _FtpDataStream.cs
- ToolStripDesignerUtils.cs
- Automation.cs
- ModifiableIteratorCollection.cs
- InfoCardRequestException.cs
- _ListenerResponseStream.cs
- FontStretch.cs
- DataGridViewCellEventArgs.cs
- ProfileParameter.cs
- EventDriven.cs
- XmlArrayItemAttributes.cs
- HotSpotCollection.cs
- PreviewPrintController.cs
- LifetimeServices.cs
- PageEventArgs.cs
- JavaScriptSerializer.cs
- ProfileProvider.cs
- Timeline.cs
- BufferModesCollection.cs
- VectorConverter.cs
- Parser.cs
- IPipelineRuntime.cs
- SoapIncludeAttribute.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- MenuItemBinding.cs
- Latin1Encoding.cs
- StaticFileHandler.cs
- FactoryMaker.cs
- NamespaceCollection.cs
- ServiceObjectContainer.cs
- Socket.cs
- TemplateXamlTreeBuilder.cs
- SecurityElement.cs
- DrawingGroupDrawingContext.cs
- Bits.cs
- EntitySet.cs
- ListViewInsertionMark.cs
- CodeNamespaceImportCollection.cs
- SchemaImporterExtensionElementCollection.cs
- CustomTypeDescriptor.cs
- HebrewNumber.cs
- DataProtection.cs
- BitmapEffectGeneralTransform.cs
- DecimalAnimationBase.cs
- RegexCharClass.cs
- _KerberosClient.cs
- InputScope.cs
- RawTextInputReport.cs
- PolicyLevel.cs
- SqlCacheDependencySection.cs
- ServiceModelReg.cs
- WMIGenerator.cs
- ObjectStateManagerMetadata.cs
- keycontainerpermission.cs
- LogFlushAsyncResult.cs
- XmlEntityReference.cs
- HwndMouseInputProvider.cs
- XmlSchemaFacet.cs
- InfoCardUIAgent.cs
- PolicyStatement.cs
- NetworkInformationException.cs
- RowSpanVector.cs
- DbConnectionPoolIdentity.cs
- SmiTypedGetterSetter.cs
- WebPartConnectionCollection.cs
- WebBrowserNavigatedEventHandler.cs
- TypeExtensionConverter.cs
- SamlAuthorityBinding.cs
- EntityDataSourceUtil.cs
- BoolExpressionVisitors.cs
- ScrollBarAutomationPeer.cs
- InfoCardTraceRecord.cs
- XamlGridLengthSerializer.cs
- ResXResourceWriter.cs
- TypeBinaryExpression.cs
- Point3D.cs
- DurableDispatcherAddressingFault.cs
- PixelFormats.cs
- Int64Animation.cs
- BitmapEffectInputData.cs