Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / ReversePositionQuery.cs / 1 / ReversePositionQuery.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 ReversePositionQuery : ForwardPositionQuery {
public ReversePositionQuery(Query input) : base(input) { }
private ReversePositionQuery(ReversePositionQuery other) : base(other) { }
public override XPathNodeIterator Clone() { return new ReversePositionQuery(this); }
public override int CurrentPosition { get { return outputBuffer.Count - count + 1; } }
public override QueryProps Properties { get { return base.Properties | QueryProps.Reverse; } }
}
}
// 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
- AuthenticatedStream.cs
- NominalTypeEliminator.cs
- DataControlCommands.cs
- DocumentViewerHelper.cs
- ContainerUtilities.cs
- IISMapPath.cs
- MultiSelector.cs
- CodeExporter.cs
- MetafileHeaderWmf.cs
- AdornerPresentationContext.cs
- WebPartUserCapability.cs
- EntityModelSchemaGenerator.cs
- DataPagerCommandEventArgs.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- MemberHolder.cs
- ToolStripPanelRenderEventArgs.cs
- HostedHttpTransportManager.cs
- linebase.cs
- EllipseGeometry.cs
- SimpleTableProvider.cs
- ThreadTrace.cs
- InputManager.cs
- GraphicsPathIterator.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- SerializationFieldInfo.cs
- DataGridTableCollection.cs
- Binding.cs
- CodeGenerator.cs
- SegmentInfo.cs
- FileDataSourceCache.cs
- LinkLabelLinkClickedEvent.cs
- FileChangeNotifier.cs
- BindableTemplateBuilder.cs
- Helper.cs
- RelationshipEndCollection.cs
- MethodSet.cs
- COM2PictureConverter.cs
- BindableTemplateBuilder.cs
- IDReferencePropertyAttribute.cs
- ReservationCollection.cs
- Mapping.cs
- OrderedEnumerableRowCollection.cs
- WorkBatch.cs
- BindingList.cs
- CodeSnippetCompileUnit.cs
- RegexCode.cs
- DefaultCommandExtensionCallback.cs
- WaitForChangedResult.cs
- WebServiceTypeData.cs
- Scripts.cs
- CompressEmulationStream.cs
- MbpInfo.cs
- DataGridColumnCollection.cs
- ResourceFallbackManager.cs
- DataReceivedEventArgs.cs
- ListView.cs
- GB18030Encoding.cs
- RuleAttributes.cs
- ImplicitInputBrush.cs
- ConstructorArgumentAttribute.cs
- TreeNode.cs
- SponsorHelper.cs
- Pair.cs
- ManifestResourceInfo.cs
- CompositionDesigner.cs
- CodeDirectoryCompiler.cs
- WizardForm.cs
- ActionMismatchAddressingException.cs
- MemberProjectedSlot.cs
- UiaCoreTypesApi.cs
- PageRouteHandler.cs
- OleDbPermission.cs
- WpfPayload.cs
- ToolstripProfessionalRenderer.cs
- BCryptSafeHandles.cs
- TemplateColumn.cs
- AccessorTable.cs
- Helpers.cs
- LoginUtil.cs
- DynamicRendererThreadManager.cs
- SqlUdtInfo.cs
- DetailsViewPagerRow.cs
- BufferAllocator.cs
- CreateDataSourceDialog.cs
- xml.cs
- UInt16Storage.cs
- SecurityCookieModeValidator.cs
- FastPropertyAccessor.cs
- PLINQETWProvider.cs
- XsdBuildProvider.cs
- UnauthorizedAccessException.cs
- PolicyException.cs
- HotSpot.cs
- CommandManager.cs
- HighlightComponent.cs
- TerminateWorkflow.cs
- SystemDiagnosticsSection.cs
- FormViewPagerRow.cs
- ChangeDirector.cs
- DocumentApplicationJournalEntry.cs