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
- URLString.cs
- NonVisualControlAttribute.cs
- TextTreeExtractElementUndoUnit.cs
- MetadataSource.cs
- shaperfactoryquerycacheentry.cs
- IEnumerable.cs
- SHA512Managed.cs
- WindowPattern.cs
- HandledMouseEvent.cs
- ControlBuilderAttribute.cs
- DesignerAdRotatorAdapter.cs
- QilLiteral.cs
- HttpValueCollection.cs
- SelectingProviderEventArgs.cs
- DesignTimeParseData.cs
- Model3DGroup.cs
- InternalEnumValidator.cs
- ValueQuery.cs
- XmlSchemaNotation.cs
- KeyEventArgs.cs
- MimeAnyImporter.cs
- HttpClientChannel.cs
- FontDialog.cs
- Trustee.cs
- RegexMatch.cs
- StringAttributeCollection.cs
- XPathDocumentBuilder.cs
- RemotingConfigParser.cs
- FormsAuthenticationEventArgs.cs
- X509Certificate.cs
- MessageDispatch.cs
- HttpModulesSection.cs
- GridViewPageEventArgs.cs
- ThicknessKeyFrameCollection.cs
- DataGridViewUtilities.cs
- ACL.cs
- AsyncResult.cs
- Fault.cs
- BitmapMetadataEnumerator.cs
- SystemTcpStatistics.cs
- SafeHandles.cs
- CryptographicAttribute.cs
- CheckBox.cs
- WebServiceErrorEvent.cs
- XmlExpressionDumper.cs
- TabControlAutomationPeer.cs
- SystemWebCachingSectionGroup.cs
- FormsAuthenticationModule.cs
- SrgsRulesCollection.cs
- DesignObjectWrapper.cs
- MappingModelBuildProvider.cs
- QilList.cs
- GeometryValueSerializer.cs
- StreamUpgradeProvider.cs
- ZoomPercentageConverter.cs
- MembershipPasswordException.cs
- HttpServerUtilityWrapper.cs
- ToolStripItem.cs
- XmlWhitespace.cs
- Latin1Encoding.cs
- HtmlControlPersistable.cs
- HeaderedContentControl.cs
- MiniCustomAttributeInfo.cs
- Int32AnimationBase.cs
- OleDbConnection.cs
- HostExecutionContextManager.cs
- BigInt.cs
- ConfigXmlWhitespace.cs
- SimpleWebHandlerParser.cs
- Soap12FormatExtensions.cs
- Stroke.cs
- ToolStripDesignerAvailabilityAttribute.cs
- LicenseContext.cs
- MouseDevice.cs
- BuildManagerHost.cs
- SineEase.cs
- EventItfInfo.cs
- RootBrowserWindowProxy.cs
- DeferredSelectedIndexReference.cs
- CollectionDataContract.cs
- MachineKeySection.cs
- GridViewRowEventArgs.cs
- LinqDataSourceView.cs
- XmlUtil.cs
- ImageSourceConverter.cs
- NetworkInformationException.cs
- SiteMapSection.cs
- XmlAttributeOverrides.cs
- CodePrimitiveExpression.cs
- Function.cs
- ExpanderAutomationPeer.cs
- CollectionConverter.cs
- RightsDocument.cs
- PointHitTestParameters.cs
- EventMap.cs
- ProtocolViolationException.cs
- InternalBase.cs
- httpapplicationstate.cs
- SortedList.cs
- NonClientArea.cs