Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / ReversePositionQuery.cs / 1305376 / 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.
//
// [....]
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TimeSpanValidator.cs
- GridViewUpdateEventArgs.cs
- CodeTypeDelegate.cs
- SuppressIldasmAttribute.cs
- TraceContextRecord.cs
- CapabilitiesRule.cs
- DataGridRelationshipRow.cs
- StringUtil.cs
- TextCollapsingProperties.cs
- EventLog.cs
- XmlReaderSettings.cs
- OleDbRowUpdatingEvent.cs
- XmlWriter.cs
- mediaeventshelper.cs
- GlyphInfoList.cs
- BaseConfigurationRecord.cs
- RectKeyFrameCollection.cs
- OwnerDrawPropertyBag.cs
- TypeDescriptorContext.cs
- WebPartMinimizeVerb.cs
- XmlDocumentType.cs
- ProtocolViolationException.cs
- RawStylusActions.cs
- RealizationContext.cs
- TemplatedEditableDesignerRegion.cs
- Membership.cs
- ValuePatternIdentifiers.cs
- PageClientProxyGenerator.cs
- ConfigurationSectionCollection.cs
- Int16.cs
- DrawingContextWalker.cs
- ParserHooks.cs
- OneOfTypeConst.cs
- CacheAxisQuery.cs
- AssociationEndMember.cs
- safemediahandle.cs
- CollectionChangeEventArgs.cs
- XamlToRtfWriter.cs
- ManifestResourceInfo.cs
- MinimizableAttributeTypeConverter.cs
- HMACSHA384.cs
- SoapEnumAttribute.cs
- MobileControlPersister.cs
- PixelFormatConverter.cs
- PropertyInformation.cs
- CompiledXpathExpr.cs
- FastEncoderWindow.cs
- PopupRootAutomationPeer.cs
- MarshalDirectiveException.cs
- SymbolMethod.cs
- CustomAttributeFormatException.cs
- BinaryObjectReader.cs
- WebExceptionStatus.cs
- RunClient.cs
- ObjectMaterializedEventArgs.cs
- EnumUnknown.cs
- ClientUrlResolverWrapper.cs
- WebRequestModulesSection.cs
- ReadWriteSpinLock.cs
- RMEnrollmentPage2.cs
- thaishape.cs
- SubMenuStyleCollection.cs
- lengthconverter.cs
- SocketException.cs
- Lease.cs
- DiagnosticsElement.cs
- ContextProperty.cs
- SqlDataSource.cs
- SmiSettersStream.cs
- BevelBitmapEffect.cs
- HttpResponseWrapper.cs
- JournalEntryListConverter.cs
- ChooseAction.cs
- ProgressBarRenderer.cs
- Command.cs
- ObjectPersistData.cs
- CopyEncoder.cs
- PageThemeParser.cs
- CodePrimitiveExpression.cs
- CmsInterop.cs
- DoubleAnimationUsingKeyFrames.cs
- EntityContainerAssociationSet.cs
- StylusTip.cs
- RtfToken.cs
- WebPartMenu.cs
- ClientSettingsSection.cs
- cookie.cs
- ListItemCollection.cs
- ComponentChangedEvent.cs
- Vector3D.cs
- GradientBrush.cs
- cookiecontainer.cs
- PersistencePipeline.cs
- SqlConnectionManager.cs
- SocketElement.cs
- XslCompiledTransform.cs
- OutputBuffer.cs
- SessionStateContainer.cs
- DiscoveryDocumentLinksPattern.cs
- XDRSchema.cs