Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //[....] //----------------------------------------------------------------------------- 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
- TextFormatterImp.cs
- SelfIssuedAuthAsymmetricKey.cs
- VectorValueSerializer.cs
- UnsignedPublishLicense.cs
- EventHandlers.cs
- ManifestSignatureInformation.cs
- KoreanCalendar.cs
- TripleDESCryptoServiceProvider.cs
- SecurityTokenRequirement.cs
- NativeMethods.cs
- DependencyPropertyKind.cs
- COM2TypeInfoProcessor.cs
- StringOutput.cs
- OuterGlowBitmapEffect.cs
- XmlSortKey.cs
- UshortList2.cs
- NullableDoubleSumAggregationOperator.cs
- CfgArc.cs
- BaseAsyncResult.cs
- oledbmetadatacollectionnames.cs
- TextInfo.cs
- DisplayMemberTemplateSelector.cs
- WindowsMenu.cs
- PermissionSet.cs
- DbConnectionStringCommon.cs
- SuppressMessageAttribute.cs
- PublisherMembershipCondition.cs
- Number.cs
- CapabilitiesState.cs
- ReadOnlyDictionary.cs
- ChtmlTextWriter.cs
- HttpListenerException.cs
- CompositeFontInfo.cs
- MetafileEditor.cs
- DependencyPropertyKey.cs
- JsonWriterDelegator.cs
- ErrorProvider.cs
- DocumentApplication.cs
- MediaTimeline.cs
- SiteMapPathDesigner.cs
- DataGridLengthConverter.cs
- ScrollChrome.cs
- _DigestClient.cs
- EventWaitHandleSecurity.cs
- ISAPIApplicationHost.cs
- PopupRootAutomationPeer.cs
- METAHEADER.cs
- DispatcherTimer.cs
- Rotation3D.cs
- FormatSettings.cs
- TextServicesHost.cs
- WebPartEventArgs.cs
- TcpConnectionPoolSettingsElement.cs
- ExpanderAutomationPeer.cs
- RtfNavigator.cs
- ResourcesBuildProvider.cs
- ClientScriptManager.cs
- SqlClientWrapperSmiStreamChars.cs
- RC2CryptoServiceProvider.cs
- Transform.cs
- SecureConversationServiceElement.cs
- WebPartEventArgs.cs
- SafeNativeMethods.cs
- MsmqInputSessionChannelListener.cs
- TextParagraph.cs
- CommonDialog.cs
- HtmlElement.cs
- UnaryNode.cs
- Window.cs
- CriticalFinalizerObject.cs
- FacetValues.cs
- Point4D.cs
- BulletedListEventArgs.cs
- X509CertificateChain.cs
- TransformDescriptor.cs
- XslNumber.cs
- InvalidAsynchronousStateException.cs
- OleDbCommand.cs
- CodeBlockBuilder.cs
- ErrorView.xaml.cs
- PersistChildrenAttribute.cs
- MergeEnumerator.cs
- RefreshEventArgs.cs
- TypedTableBaseExtensions.cs
- EventHandlersStore.cs
- SecUtil.cs
- Win32.cs
- IteratorDescriptor.cs
- Int32CAMarshaler.cs
- StreamAsIStream.cs
- RadioButtonStandardAdapter.cs
- NeutralResourcesLanguageAttribute.cs
- BinaryConverter.cs
- ModulesEntry.cs
- TypeLoadException.cs
- IItemContainerGenerator.cs
- Win32.cs
- RunInstallerAttribute.cs
- AmbientLight.cs
- WebBrowserUriTypeConverter.cs