Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- Vector3D.cs
- SQLBytes.cs
- StylusPointDescription.cs
- SystemIPGlobalStatistics.cs
- Mapping.cs
- ConversionHelper.cs
- XamlSerializationHelper.cs
- XamlSerializer.cs
- BaseProcessor.cs
- ColumnResizeAdorner.cs
- SchemaTableOptionalColumn.cs
- PasswordRecovery.cs
- PenCursorManager.cs
- CodeDOMProvider.cs
- PropertyPathConverter.cs
- ViewManager.cs
- DropSourceBehavior.cs
- DocumentGrid.cs
- tooltip.cs
- BitmapMetadataBlob.cs
- ResourcePool.cs
- WindowsScrollBar.cs
- ImageInfo.cs
- MobileControlBuilder.cs
- StoreItemCollection.Loader.cs
- FilterableData.cs
- SoapIncludeAttribute.cs
- WindowsAuthenticationModule.cs
- LicFileLicenseProvider.cs
- SqlDataSource.cs
- IgnoreDeviceFilterElementCollection.cs
- ResolveMatchesMessageCD1.cs
- ShapeTypeface.cs
- QilCloneVisitor.cs
- BackgroundWorker.cs
- CompilerErrorCollection.cs
- HandledMouseEvent.cs
- TextServicesCompartment.cs
- XmlSortKeyAccumulator.cs
- RelationshipSet.cs
- ColumnResizeAdorner.cs
- ButtonRenderer.cs
- ConstructorExpr.cs
- SmiMetaData.cs
- XPathQueryGenerator.cs
- SHA512.cs
- BatchParser.cs
- ChangePassword.cs
- AnnouncementDispatcherAsyncResult.cs
- ExecutionEngineException.cs
- CachedBitmap.cs
- RootContext.cs
- WebBrowserHelper.cs
- OdbcCommandBuilder.cs
- DataGridViewRowConverter.cs
- ChangesetResponse.cs
- MsmqDiagnostics.cs
- DirectoryObjectSecurity.cs
- ConsumerConnectionPoint.cs
- SettingsSection.cs
- XmlSchemaComplexType.cs
- ConfigurationStrings.cs
- AssociationSetEnd.cs
- XPathAxisIterator.cs
- Options.cs
- ISAPIApplicationHost.cs
- __TransparentProxy.cs
- WebScriptServiceHostFactory.cs
- XmlExpressionDumper.cs
- SemaphoreSecurity.cs
- ClickablePoint.cs
- OutOfProcStateClientManager.cs
- SafeProcessHandle.cs
- DefaultAuthorizationContext.cs
- EventDescriptorCollection.cs
- PositiveTimeSpanValidator.cs
- EnumMember.cs
- Rotation3DAnimationUsingKeyFrames.cs
- TPLETWProvider.cs
- RtType.cs
- UpdatePanelControlTrigger.cs
- RIPEMD160Managed.cs
- ShapingEngine.cs
- RightNameExpirationInfoPair.cs
- Column.cs
- UnmanagedHandle.cs
- SqlDataReaderSmi.cs
- BoolExpression.cs
- ValidationRuleCollection.cs
- NetSectionGroup.cs
- ManifestResourceInfo.cs
- ProcessHostServerConfig.cs
- HttpChannelFactory.cs
- CLSCompliantAttribute.cs
- IndependentAnimationStorage.cs
- DataKeyArray.cs
- PropertyFilterAttribute.cs
- ProtocolsConfigurationHandler.cs
- VScrollBar.cs
- ListItemParagraph.cs