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
- XPathDocumentNavigator.cs
- SvcMapFile.cs
- BigInt.cs
- DbResourceAllocator.cs
- DataViewSetting.cs
- XmlNode.cs
- PageHandlerFactory.cs
- ContextMenuStrip.cs
- ClockGroup.cs
- ValidationRuleCollection.cs
- XamlGridLengthSerializer.cs
- AnnotationComponentChooser.cs
- TableLayoutPanel.cs
- DataMemberConverter.cs
- FlowDocumentReader.cs
- ServiceOperationListItemList.cs
- TableColumnCollectionInternal.cs
- SrgsNameValueTag.cs
- Serializer.cs
- DtdParser.cs
- ExpandCollapseProviderWrapper.cs
- EncoderParameter.cs
- DataRow.cs
- Image.cs
- Base64Stream.cs
- CalloutQueueItem.cs
- KeyMatchBuilder.cs
- KeyedHashAlgorithm.cs
- Tuple.cs
- ActiveXSite.cs
- ArrayConverter.cs
- HtmlGenericControl.cs
- PerfCounters.cs
- SystemBrushes.cs
- RegexStringValidatorAttribute.cs
- Int32Storage.cs
- WsdlBuildProvider.cs
- GroupBox.cs
- AssemblyContextControlItem.cs
- ImportContext.cs
- PassportIdentity.cs
- TextModifierScope.cs
- PkcsUtils.cs
- Label.cs
- OptimisticConcurrencyException.cs
- TextSpan.cs
- TaiwanCalendar.cs
- AspNetCacheProfileAttribute.cs
- ValueHandle.cs
- WsatConfiguration.cs
- ConvertEvent.cs
- PrintingPermission.cs
- SerializationAttributes.cs
- RadioButtonStandardAdapter.cs
- FragmentQuery.cs
- ParallelTimeline.cs
- Input.cs
- AccessKeyManager.cs
- AssemblyCache.cs
- KeyGestureConverter.cs
- KnownBoxes.cs
- IdentityManager.cs
- TextShapeableCharacters.cs
- RolePrincipal.cs
- EventData.cs
- NameValuePermission.cs
- Page.cs
- sqlmetadatafactory.cs
- WorkflowService.cs
- DataGridViewAccessibleObject.cs
- VariantWrapper.cs
- ListSourceHelper.cs
- _PooledStream.cs
- PhonemeConverter.cs
- SqlProvider.cs
- DoubleAnimationClockResource.cs
- NumericUpDownAccelerationCollection.cs
- WinInet.cs
- InputLanguageSource.cs
- WorkflowDebuggerSteppingAttribute.cs
- GridViewDeletedEventArgs.cs
- FieldAccessException.cs
- ObjectTokenCategory.cs
- SynchronousReceiveElement.cs
- MessageAction.cs
- FrameDimension.cs
- OperationCanceledException.cs
- ReaderWriterLock.cs
- StoryFragments.cs
- Rotation3DAnimationBase.cs
- CategoryList.cs
- SerializerDescriptor.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- EntitySetBaseCollection.cs
- MarkupCompiler.cs
- DataRowComparer.cs
- ApplicationHost.cs
- IdentitySection.cs
- NotFiniteNumberException.cs
- ProcessHostMapPath.cs