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
- GridViewAutomationPeer.cs
- StringStorage.cs
- GenericEnumConverter.cs
- DelayLoadType.cs
- JsonFormatWriterGenerator.cs
- DiscoveryDocumentSerializer.cs
- QueryCacheEntry.cs
- BaseDataList.cs
- BitmapEffectDrawing.cs
- TextRangeAdaptor.cs
- Rotation3DAnimationBase.cs
- WebPartManager.cs
- FixedSOMElement.cs
- loginstatus.cs
- ListCollectionView.cs
- UnsafeMethods.cs
- ColorMap.cs
- ConnectionOrientedTransportElement.cs
- HttpContext.cs
- Matrix.cs
- ProviderMetadata.cs
- ListBindingConverter.cs
- StateWorkerRequest.cs
- SendMailErrorEventArgs.cs
- InteropBitmapSource.cs
- WebReferencesBuildProvider.cs
- MasterPageBuildProvider.cs
- ElementUtil.cs
- InstanceDescriptor.cs
- XmlSchemaInclude.cs
- ColumnResizeAdorner.cs
- ProjectedSlot.cs
- MouseActionValueSerializer.cs
- TypeConverterAttribute.cs
- PartialCachingControl.cs
- XmlFormatWriterGenerator.cs
- _TLSstream.cs
- AvTraceDetails.cs
- DictionaryCustomTypeDescriptor.cs
- EndpointDiscoveryElement.cs
- DayRenderEvent.cs
- HttpListenerResponse.cs
- ObjectAnimationBase.cs
- ExtendedPropertyDescriptor.cs
- WMICapabilities.cs
- ProfileBuildProvider.cs
- Crypto.cs
- AuthorizationRuleCollection.cs
- ActivityTypeDesigner.xaml.cs
- Margins.cs
- Predicate.cs
- ConfigurationPropertyAttribute.cs
- ReflectionTypeLoadException.cs
- ChannelBinding.cs
- Compiler.cs
- NumberFormatInfo.cs
- DataBoundControlParameterTarget.cs
- RegularExpressionValidator.cs
- FlowDocumentFormatter.cs
- OpCodes.cs
- SectionInput.cs
- dtdvalidator.cs
- ObjectDataSourceWizardForm.cs
- wgx_exports.cs
- DataGridViewElement.cs
- ThreadAttributes.cs
- ComponentEditorForm.cs
- OleDbRowUpdatedEvent.cs
- ToolStripOverflow.cs
- DataPagerFieldCommandEventArgs.cs
- ComponentEvent.cs
- _OverlappedAsyncResult.cs
- Pkcs9Attribute.cs
- NotSupportedException.cs
- OutputCacheSettingsSection.cs
- FormsIdentity.cs
- DBBindings.cs
- _NetworkingPerfCounters.cs
- TextTreePropertyUndoUnit.cs
- DataGridPagerStyle.cs
- _OSSOCK.cs
- Permission.cs
- BindingCompleteEventArgs.cs
- Switch.cs
- MruCache.cs
- ContextActivityUtils.cs
- EUCJPEncoding.cs
- BmpBitmapEncoder.cs
- SubclassTypeValidatorAttribute.cs
- WindowsStatusBar.cs
- OleDbErrorCollection.cs
- PathGeometry.cs
- Win32Interop.cs
- Pair.cs
- DbConnectionOptions.cs
- MsmqOutputSessionChannel.cs
- CodeGroup.cs
- XmlTextEncoder.cs
- CommandHelper.cs
- followingsibling.cs